arm: dts: qcom: Sync pinctrl DT nodes with Linux bindings
authorSumit Garg <sumit.garg@linaro.org>
Wed, 27 Jul 2022 08:22:04 +0000 (13:52 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 26 Aug 2022 14:55:46 +0000 (10:55 -0400)
commit0ddabb6830e5aee2c54f86f2430ea0f28f7538c3
tree1db13f57a1832e79fad829844558ed728b41d1b9
parenta4b99582bbe12c2fe7586ceaf443d99b3a38e389
arm: dts: qcom: Sync pinctrl DT nodes with Linux bindings

Currently for all Qcom SoCs/boards there are separate compatibles for
GPIO and pinctrl. But this is inconsistent with official (upstream) Linux
bindings which requires only a single compatible "qcom,<SoC name>-pinctrl"
and there is no such compatible property as "qcom,tlmm-<SoC name>".

So fix this inconsistency for Qcom SoCs in order to comply with upstream
DT bindings. This is done via removing compatibles from "msm_gpio" driver
and via binding to "msm_gpio" driver from pinctrl driver in case
"gpio-controller" property is specified for pinctrl node.

Suggested-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
arch/arm/dts/dragonboard410c-uboot.dtsi
arch/arm/dts/dragonboard410c.dts
arch/arm/dts/dragonboard820c-uboot.dtsi
arch/arm/dts/dragonboard820c.dts
arch/arm/dts/qcom-ipq4019.dtsi
arch/arm/dts/qcs404-evb.dts
arch/arm/dts/sdm845.dtsi
arch/arm/mach-ipq40xx/pinctrl-snapdragon.c
arch/arm/mach-snapdragon/pinctrl-snapdragon.c
drivers/gpio/msm_gpio.c