Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1527347

[PATCH 2/4] arm64: dts: rockchip: Arch counter doesn't tick in system suspend

From Daniel Lezcano <daniel.lezcano@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 2/4] arm64: dts: rockchip: Arch counter doesn't tick in system suspend
Date 2016-11-22 10:50 +0100
Message-ID <sGfSa-5nS-29@gated-at.bofh.it> (permalink)
References <sGfSa-5nS-9@gated-at.bofh.it> <sGfSa-5nS-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Brian Norris <briannorris@chromium.org>

The "arm,no-tick-in-suspend" property was introduced to note
implementations where the system counter does not quite follow the ARM
specification that it "must be implemented in an always-on power
domain".

Particularly, RK3399's counter stops ticking when we switch from the
24MHz clock to the 32KHz clock in low-power suspend, so let's mark it as
such.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 arch/arm64/boot/dts/rockchip/rk3399.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index b65c193..d85b651 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -174,6 +174,7 @@
 			     <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW 0>,
 			     <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW 0>,
 			     <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW 0>;
+		arm,no-tick-in-suspend;
 	};
 
 	xin24m: xin24m {
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/4] clocksource/drivers/arm_arch_timer: Don't assume clock runs in suspend Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-11-22 10:50 +0100
  [PATCH 2/4] arm64: dts: rockchip: Arch counter doesn't tick in system suspend Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-11-22 10:50 +0100
    Re: [PATCH 2/4] arm64: dts: rockchip: Arch counter doesn't tick in system suspend Heiko Stübner <heiko@sntech.de> - 2016-11-22 16:10 +0100
  Re: [PATCH 1/4] clocksource/drivers/arm_arch_timer: Don't assume  clock runs in suspend Rob Herring <robh@kernel.org> - 2016-11-24 00:10 +0100

csiph-web