arm64: dts: qcom: sc8180x-flex-5g: use 'gpios' suffix for PCI GPIOs
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 11 Nov 2023 16:42:24 +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-lenovo-flex-5g.dtb: pci@1c08000: 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-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts

index 3ea07d094b607f40b1a0a5a80d776f1c097ed5a8..0c22f3efec20c8fd2430151c783834d2f89b5823 100644 (file)
 };
 
 &pcie3 {
-       perst-gpio = <&tlmm 178 GPIO_ACTIVE_LOW>;
-       wake-gpio = <&tlmm 180 GPIO_ACTIVE_HIGH>;
+       perst-gpios = <&tlmm 178 GPIO_ACTIVE_LOW>;
+       wake-gpios = <&tlmm 180 GPIO_ACTIVE_HIGH>;
        pinctrl-0 = <&pcie3_default_state>;
        pinctrl-names = "default";