diff mbox series

[v1] ARM: dts: qcom: ipq4019: fix sleep clock

Message ID 20211220170352.34591-1-chunkeey@gmail.com (mailing list archive)
State New, archived
Headers show
Series [v1] ARM: dts: qcom: ipq4019: fix sleep clock | expand

Commit Message

Christian Lamparter Dec. 20, 2021, 5:03 p.m. UTC
From: Pavel Kubelun <be.dissent@gmail.com>

It seems like sleep_clk was copied from ipq806x.
Fix ipq40xx sleep_clk to the value QSDK defines.

Link: https://source.codeaurora.org/quic/qsdk/oss/kernel/linux-msm/commit/?id=d92ec59973484acc86dd24b67f10f8911b4b4b7d
Link: https://patchwork.kernel.org/comment/22721613/
Fixes: bec6ba4cdf2a ("qcom: ipq4019: Add basic board/dts support for IPQ4019 SoC")
Suggested-by: Bjorn Andersson <bjorn.andersson@linaro.org> (clock-output-names)
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com> (removed clock rename)
---

@Bjorn,

as promised, here's the clock-output-names version.
I've tested it extensively with the lonely devices in the office.

Thank you.
---
 arch/arm/boot/dts/qcom-ipq4019.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Bjorn Andersson Feb. 1, 2022, 5:19 a.m. UTC | #1
On Mon, 20 Dec 2021 18:03:52 +0100, Christian Lamparter wrote:
> From: Pavel Kubelun <be.dissent@gmail.com>
> 
> It seems like sleep_clk was copied from ipq806x.
> Fix ipq40xx sleep_clk to the value QSDK defines.
> 
> 

Applied, thanks!

[1/1] ARM: dts: qcom: ipq4019: fix sleep clock
      commit: 3d7e7980993d2c1ae42d3d314040fc2de6a9c45f

Best regards,
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi
index 7a181352b306..632038d2f7b7 100644
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
@@ -146,7 +146,8 @@  pmu {
 	clocks {
 		sleep_clk: sleep_clk {
 			compatible = "fixed-clock";
-			clock-frequency = <32768>;
+			clock-frequency = <32000>;
+			clock-output-names = "gcc_sleep_clk_src";
 			#clock-cells = <0>;
 		};