arm64: dts: qcom: sm8150: use 'gpios' suffix for PCI GPIOs
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 11 Nov 2023 16:42:26 +0000 (17:42 +0100)
committerBjorn Andersson <andersson@kernel.org>
Thu, 7 Dec 2023 16:22:48 +0000 (08:22 -0800)
Linux handles both versions, but bindings expect GPIO properties to
have 'gpios' suffix instead of 'gpio':

  sa8155p-adp.dtb: pci@1c00000: Unevaluated properties are not allowed ('perst-gpio' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231111164229.63803-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8150.dtsi

index 3cba87e00123ca2ac80e553a348b9cb9a4b96a9b..fb7fd96ea61d35e4d89c4f531eb55fdffa785e74 100644 (file)
                        phys = <&pcie0_phy>;
                        phy-names = "pciephy";
 
-                       perst-gpio = <&tlmm 35 GPIO_ACTIVE_HIGH>;
+                       perst-gpios = <&tlmm 35 GPIO_ACTIVE_HIGH>;
                        enable-gpio = <&tlmm 37 GPIO_ACTIVE_HIGH>;
 
                        pinctrl-names = "default";
                        phys = <&pcie1_phy>;
                        phy-names = "pciephy";
 
-                       perst-gpio = <&tlmm 102 GPIO_ACTIVE_HIGH>;
+                       perst-gpios = <&tlmm 102 GPIO_ACTIVE_HIGH>;
                        enable-gpio = <&tlmm 104 GPIO_ACTIVE_HIGH>;
 
                        pinctrl-names = "default";