[openwrt/openwrt] ipq40xx: update 105-ipq40xx-fix-sleep-clock.patch

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 27 16:14:21 PST 2021


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/db7a392adea0eaa2616522afb157406907d472b8

commit db7a392adea0eaa2616522afb157406907d472b8
Author: Christian Lamparter <chunkeey at gmail.com>
AuthorDate: Sun Nov 21 11:45:46 2021 +0100

    ipq40xx: update 105-ipq40xx-fix-sleep-clock.patch
    
    Bjorn Anderson has suggestions which would help to upstream the patch.
    
    Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
 .../patches-5.10/105-ipq40xx-fix-sleep-clock.patch | 23 ++++++++++------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/target/linux/ipq40xx/patches-5.10/105-ipq40xx-fix-sleep-clock.patch b/target/linux/ipq40xx/patches-5.10/105-ipq40xx-fix-sleep-clock.patch
index 8afcbdcf98..8be7eeaff4 100644
--- a/target/linux/ipq40xx/patches-5.10/105-ipq40xx-fix-sleep-clock.patch
+++ b/target/linux/ipq40xx/patches-5.10/105-ipq40xx-fix-sleep-clock.patch
@@ -1,29 +1,26 @@
-From 4d44bb1031a68d7d5b604d3b340c059f41ca62af Mon Sep 17 00:00:00 2001
-From: dissent1 <be.dissent at gmail.com>
+From a63c7162a1dae9f1185897641dc3e47e295563d6 Mon Sep 17 00:00:00 2001
+From: Pavel Kubelun <be.dissent at gmail.com>
 Date: Mon, 6 May 2019 20:55:16 +0300
-Subject: [PATCH] ipq40xx: fix sleep clock
+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.
 
-Also rename the sleep clock node like the GCC driver names it.
-
+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 at linaro.org> [clock-output-names]
 Signed-off-by: Pavel Kubelun <be.dissent at gmail.com>
+Signed-off-by: Christian Lamparter <chunkeey at gmail.com> [just fixed the value]
 ---
- arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
 +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
-@@ -140,9 +140,9 @@
- 	};
- 
+@@ -146,7 +146,8 @@ pmu {
  	clocks {
--		sleep_clk: sleep_clk {
-+		sleep_clk: gcc_sleep_clk_src {
+ 		sleep_clk: sleep_clk {
  			compatible = "fixed-clock";
 -			clock-frequency = <32768>;
 +			clock-frequency = <32000>;
++			clock-output-names = "gcc_sleep_clk_src";
  			#clock-cells = <0>;
  		};
  



More information about the lede-commits mailing list