arm64: dts: qcom: sc8180x-primus: use 'gpios' suffix for PCI GPIOs
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 11 Nov 2023 16:42:25 +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':

  sc8180x-primus.dtb: pci@1c10000: Unevaluated properties are not allowed ('perst-gpio', 'wake-gpio' were unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231111164229.63803-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sc8180x-primus.dts

index a40ef23..adddf36 100644 (file)
 };
 
 &pcie1 {
-       perst-gpio = <&tlmm 175 GPIO_ACTIVE_LOW>;
-       wake-gpio = <&tlmm 177 GPIO_ACTIVE_HIGH>;
+       perst-gpios = <&tlmm 175 GPIO_ACTIVE_LOW>;
+       wake-gpios = <&tlmm 177 GPIO_ACTIVE_HIGH>;
        pinctrl-names = "default";
        pinctrl-0 = <&pcie2_default_state>;