[PATCH 1/3] arm64: dts: qcom: sc8280xp: Fix PCIe PHY power-domains

From: Konrad Dybcio
Date: Wed Dec 27 2023 - 17:28:52 EST


The PCIe GDSCs are only related to the RCs. The PCIe PHYs on the other
hand, are powered by VDD_MX and their specific VDDA_PHY/PLL regulators.

Fix the power-domains assignment to stop potentially toggling the GDSC
unnecessarily.

Fixes: 813e83157001 ("arm64: dts: qcom: sc8280xp/sa8540p: add PCIe2-4 nodes")
Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
index febf28356ff8..72c5818b67f2 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
@@ -1797,7 +1797,7 @@ pcie4_phy: phy@1c06000 {
assigned-clocks = <&gcc GCC_PCIE4_PHY_RCHNG_CLK>;
assigned-clock-rates = <100000000>;

- power-domains = <&gcc PCIE_4_GDSC>;
+ power-domains = <&rpmhpd SC8280XP_MX>;

resets = <&gcc GCC_PCIE_4_PHY_BCR>;
reset-names = "phy";
@@ -1895,7 +1895,7 @@ pcie3b_phy: phy@1c0e000 {
assigned-clocks = <&gcc GCC_PCIE3B_PHY_RCHNG_CLK>;
assigned-clock-rates = <100000000>;

- power-domains = <&gcc PCIE_3B_GDSC>;
+ power-domains = <&rpmhpd SC8280XP_MX>;

resets = <&gcc GCC_PCIE_3B_PHY_BCR>;
reset-names = "phy";
@@ -1994,7 +1994,7 @@ pcie3a_phy: phy@1c14000 {
assigned-clocks = <&gcc GCC_PCIE3A_PHY_RCHNG_CLK>;
assigned-clock-rates = <100000000>;

- power-domains = <&gcc PCIE_3A_GDSC>;
+ power-domains = <&rpmhpd SC8280XP_MX>;

resets = <&gcc GCC_PCIE_3A_PHY_BCR>;
reset-names = "phy";
@@ -2094,7 +2094,7 @@ pcie2b_phy: phy@1c1e000 {
assigned-clocks = <&gcc GCC_PCIE2B_PHY_RCHNG_CLK>;
assigned-clock-rates = <100000000>;

- power-domains = <&gcc PCIE_2B_GDSC>;
+ power-domains = <&rpmhpd SC8280XP_MX>;

resets = <&gcc GCC_PCIE_2B_PHY_BCR>;
reset-names = "phy";
@@ -2193,7 +2193,7 @@ pcie2a_phy: phy@1c24000 {
assigned-clocks = <&gcc GCC_PCIE2A_PHY_RCHNG_CLK>;
assigned-clock-rates = <100000000>;

- power-domains = <&gcc PCIE_2A_GDSC>;
+ power-domains = <&rpmhpd SC8280XP_MX>;

resets = <&gcc GCC_PCIE_2A_PHY_BCR>;
reset-names = "phy";

--
2.43.0