arm64: dts: qcom: sm8250: fix PCIe bindings to follow schema
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 14 Dec 2021 23:14:48 +0000 (02:14 +0300)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 1 Feb 2022 00:18:04 +0000 (18:18 -0600)
Replace (unused) enable-gpio binding with schema-defined wake-gpios. The
GPIO line is still unused, but at least we'd follow the defined schema.

While we are at it, change perst-gpio property to follow the preferred
naming schema (perst-gpios).

Fixes: 13e948a36db7 ("arm64: dts: qcom: sm8250: Commonize PCIe pins")
Cc: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211214231448.2044987-1-dmitry.baryshkov@linaro.org
arch/arm64/boot/dts/qcom/sm8250.dtsi

index 93570a61c2af548515b2c8581be36bf099ab8b0d..db57c115d262259989ad3bbbdfece395d2972816 100644 (file)
                        phys = <&pcie0_lane>;
                        phy-names = "pciephy";
 
-                       perst-gpio = <&tlmm 79 GPIO_ACTIVE_LOW>;
-                       enable-gpio = <&tlmm 81 GPIO_ACTIVE_HIGH>;
+                       perst-gpios = <&tlmm 79 GPIO_ACTIVE_LOW>;
+                       wake-gpios = <&tlmm 81 GPIO_ACTIVE_HIGH>;
 
                        pinctrl-names = "default";
                        pinctrl-0 = <&pcie0_default_state>;
                        phys = <&pcie1_lane>;
                        phy-names = "pciephy";
 
-                       perst-gpio = <&tlmm 82 GPIO_ACTIVE_LOW>;
-                       enable-gpio = <&tlmm 84 GPIO_ACTIVE_HIGH>;
+                       perst-gpios = <&tlmm 82 GPIO_ACTIVE_LOW>;
+                       wake-gpios = <&tlmm 84 GPIO_ACTIVE_HIGH>;
 
                        pinctrl-names = "default";
                        pinctrl-0 = <&pcie1_default_state>;
                        phys = <&pcie2_lane>;
                        phy-names = "pciephy";
 
-                       perst-gpio = <&tlmm 85 GPIO_ACTIVE_LOW>;
-                       enable-gpio = <&tlmm 87 GPIO_ACTIVE_HIGH>;
+                       perst-gpios = <&tlmm 85 GPIO_ACTIVE_LOW>;
+                       wake-gpios = <&tlmm 87 GPIO_ACTIVE_HIGH>;
 
                        pinctrl-names = "default";
                        pinctrl-0 = <&pcie2_default_state>;