arm64: dts: qcom: sm6125: Switch fixed xo_board clock to RPM XO clock
authorMarijn Suijten <marijn.suijten@somainline.org>
Sun, 23 Jul 2023 16:08:52 +0000 (18:08 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 19 Sep 2023 21:38:03 +0000 (14:38 -0700)
We have a working RPM XO clock; no other driver except rpmcc should be
parenting directly to the fixed-factor xo_board clock nor should it be
reachable by that global name.  Remove the name to that effect, so that
every clock relation is explicitly defined in DTS.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Link: https://lore.kernel.org/r/20230723-sm6125-dpu-v4-14-a3f287dd6c07@somainline.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm6125.dtsi

index 9e5cac45fa750e583a2873342a05ab181cf3c3ec..beccabcc985c25f27f3df35a739a32044e889d29 100644 (file)
@@ -22,7 +22,6 @@
                        compatible = "fixed-clock";
                        #clock-cells = <0>;
                        clock-frequency = <19200000>;
-                       clock-output-names = "xo_board";
                };
 
                sleep_clk: sleep-clk {
                                rpmcc: clock-controller {
                                        compatible = "qcom,rpmcc-sm6125", "qcom,rpmcc";
                                        #clock-cells = <1>;
+                                       clocks = <&xo_board>;
+                                       clock-names = "xo";
                                };
 
                                rpmpd: power-controller {
 
                        clocks = <&gcc GCC_SDCC1_AHB_CLK>,
                                 <&gcc GCC_SDCC1_APPS_CLK>,
-                                <&xo_board>;
+                                <&rpmcc RPM_SMD_XO_CLK_SRC>;
                        clock-names = "iface", "core", "xo";
                        iommus = <&apps_smmu 0x160 0x0>;
 
 
                        clocks = <&gcc GCC_SDCC2_AHB_CLK>,
                                 <&gcc GCC_SDCC2_APPS_CLK>,
-                                <&xo_board>;
+                                <&rpmcc RPM_SMD_XO_CLK_SRC>;
                        clock-names = "iface", "core", "xo";
                        iommus = <&apps_smmu 0x180 0x0>;