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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:23:15 +0000 (14:23 +0200)
[ Upstream commit d60507200485bc778bf6a5556271d784ab09d913 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/sm8250.dtsi

index 707ed242db0f971b64d6cbae6df206c709a1ae94..2786e2c8e56597696766c86d5f95ad0d79bdf5fb 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>;