arm64: dts: qcom: sm8550: fix xo clock source in cpufreq-hw node
authorPavankumar Kondeti <quic_pkondeti@quicinc.com>
Tue, 17 Jan 2023 09:35:33 +0000 (15:05 +0530)
committerBjorn Andersson <andersson@kernel.org>
Wed, 18 Jan 2023 23:33:10 +0000 (17:33 -0600)
Currently, available frequencies for all CPUs are appearing as 2x
of the actual frequencies. Use xo clock source as bi_tcxo in the
cpufreq-hw node to fix this.

Signed-off-by: Pavankumar Kondeti <quic_pkondeti@quicinc.com>
Tested-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230117093533.3710000-1-quic_pkondeti@quicinc.com
arch/arm64/boot/dts/qcom/sm8550.dtsi

index 3d47281a276bd6dae15748f38b46c30c41033ad6..262e06aa68e4f61692b6f25f85005848e9d667f4 100644 (file)
                              <0 0x17d92000 0 0x1000>,
                              <0 0x17d93000 0 0x1000>;
                        reg-names = "freq-domain0", "freq-domain1", "freq-domain2";
-                       clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_GPLL0>;
+                       clocks = <&bi_tcxo_div2>, <&gcc GCC_GPLL0>;
                        clock-names = "xo", "alternate";
                        interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>,
                                     <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,