Re: [PATCH 0/2] pinctrl: qcom: ipq806x: mark gpio and pcie-reset as GPIO
Linus Walleij <[email protected]>
| Newsgroups | org.kernel.vger.linux-gpio,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAD++jL=tCKeELwvXQVTg0L4DLmGL7HiAJ3J-OaCDx2b8P6B+Ow@mail.gmail.com> |
On Sun, Jul 19, 2026 at 3:48 PM Hans Ulli Kroll <[email protected]> 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 <[email protected]> This need to be relayed to Bartosz as qualcomm pinctrl maintainer! FWIW: Acked-by: Linus Walleij <[email protected]> Yours, Linus Walleij