mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
41 lines
1.6 KiB
Diff
41 lines
1.6 KiB
Diff
From ceeec9e4dbd9561b9483b3ad8648e66eba3c8016 Mon Sep 17 00:00:00 2001
|
|
From: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
|
|
Date: Thu, 14 Sep 2023 12:30:00 +0530
|
|
Subject: [PATCH 30/41] arm64: dts: qcom: ipq9574: include the GPLL0 as clock
|
|
provider for mailbox
|
|
|
|
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-10-c8ceb1a37680@quicinc.com
|
|
[bjorn: Updated commit message, as requested by Kathiravan]
|
|
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
|
|
---
|
|
arch/arm64/boot/dts/qcom/ipq9574.dtsi | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi
|
|
index 3b4ebf165380..452ac4deed0b 100644
|
|
--- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi
|
|
+++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi
|
|
@@ -507,8 +507,8 @@ apcs_glb: mailbox@b111000 {
|
|
"qcom,ipq6018-apcs-apps-global";
|
|
reg = <0x0b111000 0x1000>;
|
|
#clock-cells = <1>;
|
|
- clocks = <&a73pll>, <&xo_board_clk>;
|
|
- clock-names = "pll", "xo";
|
|
+ clocks = <&a73pll>, <&xo_board_clk>, <&gcc GPLL0>;
|
|
+ clock-names = "pll", "xo", "gpll0";
|
|
#mbox-cells = <1>;
|
|
};
|
|
|
|
--
|
|
2.34.1
|
|
|