Re: [PATCH 0/2] pinctrl: qcom: ipq806x: mark gpio and pcie-reset as GPIO

From: Linus Walleij

Date: Sat Jul 25 2026 - 05:21:03 EST


On Sun, Jul 19, 2026 at 3:48 PM Hans Ulli Kroll <linux@xxxxxxxxxxxxx> wrote:

> The qcom pinctrl core supports marking functions that represent GPIO mode
> via PINCTRL_GPIO_PINFUNCTION(), so that strict pinmuxing does not reject
> GPIO requests for pins that are muxed to the GPIO function.
>
> ipq806x still describes its gpio function with QCA_PIN_FUNCTION(gpio),
> so it is not treated as a GPIO pin function. As a result, GPIO consumers
> can still conflict with pinctrl states that select the "gpio" function.
>
> This allows ipq806x to keep the GPIO-related and PCIe-related pin configuration
> in DTS without tripping over strict pinmux ownership checks.
>
> Fixes: cc85cb96e2e4 ("pinctrl: qcom: make the pinmuxing strict")
> Signed-off-by: Hans Ulli Kroll <linux@xxxxxxxxxxxxx>

This need to be relayed to Bartosz as qualcomm pinctrl maintainer!

FWIW:
Acked-by: Linus Walleij <linusw@xxxxxxxxxx>

Yours,
Linus Walleij