arm64: dts: qcom: sm6350: Replace literal rpmhpd indices with constants
authorMarijn Suijten <marijn.suijten@somainline.org>
Sat, 7 May 2022 22:46:45 +0000 (00:46 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 16 Jul 2022 15:18:14 +0000 (10:18 -0500)
It seems the SM6350_CX definition was temporarily replaced with its
literal value 0 in 1797e1c9a95c ("arm64: dts: qcom: sm6350: Add SDHCI1/2
nodes") to prevent a dependency on the qcom-rpmpd.h header patch being
available prior to this DT patch being applied, similar to c23f1b77358c
("arm64: dts: qcom: sm6125: Avoid using missing SM6125_VDDCX").
However, unlike the revert of that in the sm6125 tree the next merge
window around in a90b8adfa2dd ("Revert "arm64: dts: qcom: sm6125: Avoid
using missing SM6125_VDDCX""), this has not yet happened for sm6350:
replace them back now that the definitions are definitely available.

Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220507224645.2238421-1-marijn.suijten@somainline.org
arch/arm64/boot/dts/qcom/sm6350.dtsi

index bb9349b..d06aefd 100644 (file)
                        clock-names = "iface", "core", "xo";
                        qcom,dll-config = <0x000f642c>;
                        qcom,ddr-config = <0x80040868>;
-                       power-domains = <&rpmhpd 0>;
+                       power-domains = <&rpmhpd SM6350_CX>;
                        operating-points-v2 = <&sdhc1_opp_table>;
                        bus-width = <8>;
                        non-removable;
                        clock-names = "iface", "core", "xo";
                        qcom,dll-config = <0x0007642c>;
                        qcom,ddr-config = <0x80040868>;
-                       power-domains = <&rpmhpd 0>;
+                       power-domains = <&rpmhpd SM6350_CX>;
                        operating-points-v2 = <&sdhc2_opp_table>;
                        bus-width = <4>;