arm64: dts: qcom: ipq8074: include the GPLL0 as clock provider for mailbox
authorKathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Thu, 14 Sep 2023 06:59:58 +0000 (12:29 +0530)
committerBjorn Andersson <andersson@kernel.org>
Sat, 21 Oct 2023 19:59:48 +0000 (12:59 -0700)
While the kernel is booting up, APSS clock / CPU clock will be running
at 800MHz with GPLL0 as source. Once the cpufreq driver is available,
APSS PLL will be configured to the rate based on the opp table and the
source also will be changed to APSS_PLL_EARLY. So allow the mailbox to
consume the GPLL0, with this inclusion, CPU Freq correctly reports that
CPU is running at 800MHz rather than 24MHz.

Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230913-gpll_cleanup-v2-8-c8ceb1a37680@quicinc.com
[bjorn: Updated commit message, as requested by Kathiravan]
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/ipq8074.dtsi

index 2f275c84e566508dbf641af88d57fa77a124cfa9..5d05819f356d71093e749fb566e8d36b53220cb3 100644 (file)
                        compatible = "qcom,ipq8074-apcs-apps-global",
                                     "qcom,ipq6018-apcs-apps-global";
                        reg = <0x0b111000 0x1000>;
-                       clocks = <&a53pll>, <&xo>;
-                       clock-names = "pll", "xo";
+                       clocks = <&a53pll>, <&xo>, <&gcc GPLL0>;
+                       clock-names = "pll", "xo", "gpll0";
 
                        #clock-cells = <1>;
                        #mbox-cells = <1>;