mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
db7a392ade
Bjorn Anderson has suggestions which would help to upstream the patch. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
27 lines
1015 B
Diff
27 lines
1015 B
Diff
From a63c7162a1dae9f1185897641dc3e47e295563d6 Mon Sep 17 00:00:00 2001
|
|
From: Pavel Kubelun <be.dissent@gmail.com>
|
|
Date: Mon, 6 May 2019 20:55:16 +0300
|
|
Subject: [PATCH] ARM: dts: qcom: ipq4019: fix sleep clock
|
|
|
|
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/
|
|
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> [just fixed the value]
|
|
---
|
|
--- 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>;
|
|
};
|
|
|