]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
arm64: dts: sprd: Add one suspend timer
authorBaolin Wang <baolin.wang@linaro.org>
Mon, 23 Jul 2018 06:10:20 +0000 (14:10 +0800)
committerOlof Johansson <olof@lixom.net>
Thu, 26 Jul 2018 06:51:32 +0000 (23:51 -0700)
On Spreadtrum platform, the current clocksource for timekeeping will be
stopped in suspend state, thus add one always-on timer to calculate the
suspend time.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm64/boot/dts/sprd/whale2.dtsi

index e9db9108f3c0648e4245e84e9c0ddf6ffb4f152b..eb6be5675f79e683ee1d00ca77233df771f8b53a 100644 (file)
                                clocks = <&ext_32k>;
                        };
 
+                       timer@40050020 {
+                               compatible = "sprd,sc9860-suspend-timer";
+                               reg = <0 0x40050020 0 0x20>;
+                               clocks = <&ext_32k>;
+                       };
+
                        hwlock: hwspinlock@40500000 {
                                compatible = "sprd,hwspinlock-r3p0";
                                reg = <0 0x40500000 0 0x1000>;