2021-11-21 10:45:46 +00:00
|
|
|
From a63c7162a1dae9f1185897641dc3e47e295563d6 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Pavel Kubelun <be.dissent@gmail.com>
|
2019-05-06 17:59:40 +00:00
|
|
|
Date: Mon, 6 May 2019 20:55:16 +0300
|
2021-11-21 10:45:46 +00:00
|
|
|
Subject: [PATCH] ARM: dts: qcom: ipq4019: fix sleep clock
|
2019-05-06 17:59:40 +00:00
|
|
|
|
|
|
|
It seems like sleep_clk was copied from ipq806x.
|
|
|
|
Fix ipq40xx sleep_clk to the value QSDK defines.
|
|
|
|
|
2021-11-21 10:45:46 +00:00
|
|
|
Link: https://source.codeaurora.org/quic/qsdk/oss/kernel/linux-msm/commit/?id=d92ec59973484acc86dd24b67f10f8911b4b4b7d
|
|
|
|
Link: https://patchwork.kernel.org/comment/22721613/
|
|
|
|
Suggested-by: Bjorn Andersson <bjorn.andersson@linaro.org> [clock-output-names]
|
2019-05-06 17:59:40 +00:00
|
|
|
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
|
2021-11-21 10:45:46 +00:00
|
|
|
Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [just fixed the value]
|
2019-05-06 17:59:40 +00:00
|
|
|
---
|
|
|
|
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
|
|
|
|
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
|
2021-12-01 11:28:02 +00:00
|
|
|
@@ -142,7 +142,8 @@
|
2019-05-06 17:59:40 +00:00
|
|
|
clocks {
|
2021-11-21 10:45:46 +00:00
|
|
|
sleep_clk: sleep_clk {
|
2019-05-06 17:59:40 +00:00
|
|
|
compatible = "fixed-clock";
|
|
|
|
- clock-frequency = <32768>;
|
|
|
|
+ clock-frequency = <32000>;
|
2021-11-21 10:45:46 +00:00
|
|
|
+ clock-output-names = "gcc_sleep_clk_src";
|
2019-05-06 17:59:40 +00:00
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
|
|
|
|