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

Hans Ulli Kroll posted 2 patches 5 days, 13 hours ago
[PATCH 0/2] pinctrl: qcom: ipq806x: mark gpio and pcie-reset as GPIO
Posted by Hans Ulli Kroll 5 days, 13 hours ago
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@ulli-kroll.de>