0052-v6.7-arm64-dts-qcom-ipq6018-include-the-GPLL0-as.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From 0133c7af3aa0420778d106cb90db708cfa45f2c6 Mon Sep 17 00:00:00 2001
  2. From: Kathiravan Thirumoorthy <[email protected]>
  3. Date: Thu, 14 Sep 2023 12:29:59 +0530
  4. Subject: [PATCH] arm64: dts: qcom: ipq6018: include the GPLL0 as clock
  5. provider for mailbox
  6. While the kernel is booting up, APSS clock / CPU clock will be running
  7. at 800MHz with GPLL0 as source. Once the cpufreq driver is available,
  8. APSS PLL will be configured to the rate based on the opp table and the
  9. source also will be changed to APSS_PLL_EARLY. So allow the mailbox to
  10. consume the GPLL0, with this inclusion, CPU Freq correctly reports that
  11. CPU is running at 800MHz rather than 24MHz.
  12. Signed-off-by: Kathiravan Thirumoorthy <[email protected]>
  13. Reviewed-by: Konrad Dybcio <[email protected]>
  14. Link: https://lore.kernel.org/r/[email protected]
  15. [bjorn: Updated commit message, as requested by Kathiravan]
  16. Signed-off-by: Bjorn Andersson <[email protected]>
  17. ---
  18. arch/arm64/boot/dts/qcom/ipq6018.dtsi | 4 ++--
  19. 1 file changed, 2 insertions(+), 2 deletions(-)
  20. --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi
  21. +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi
  22. @@ -619,8 +619,8 @@
  23. compatible = "qcom,ipq6018-apcs-apps-global";
  24. reg = <0x0 0x0b111000 0x0 0x1000>;
  25. #clock-cells = <1>;
  26. - clocks = <&a53pll>, <&xo>;
  27. - clock-names = "pll", "xo";
  28. + clocks = <&a53pll>, <&xo>, <&gcc GPLL0>;
  29. + clock-names = "pll", "xo", "gpll0";
  30. #mbox-cells = <1>;
  31. };