diff mbox series

arm64: dts: amlogic: g12 CPU timers stop in suspend

Message ID 20190808170510.4141-1-khilman@kernel.org (mailing list archive)
State Mainlined
Commit a55022706068c461f13552fbbb4e0f8cf056933f
Headers show
Series arm64: dts: amlogic: g12 CPU timers stop in suspend | expand

Commit Message

Kevin Hilman Aug. 8, 2019, 5:05 p.m. UTC
From: Kevin Hilman <khilman@baylibre.com>

The Arm per-CPU architected timers stop ticking in suspend, when the
SCP powers down the CPUs.  Flag that in the DT.

Signed-off-by: Kevin Hilman <khilman@baylibre.com>
---
Applies on my v5.4/dt64 branch

 arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 1 +
 1 file changed, 1 insertion(+)

Comments

Neil Armstrong Aug. 12, 2019, 7:50 a.m. UTC | #1
On 08/08/2019 19:05, Kevin Hilman wrote:
> From: Kevin Hilman <khilman@baylibre.com>
> 
> The Arm per-CPU architected timers stop ticking in suspend, when the
> SCP powers down the CPUs.  Flag that in the DT.
> 
> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
> ---
> Applies on my v5.4/dt64 branch
> 
>  arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
> index 27bb242dc95d..cd3d23d2c6a2 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
> @@ -2407,6 +2407,7 @@
>  			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
>  			     <GIC_PPI 10
>  			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>;
> +		arm,no-tick-in-suspend;
>  	};
>  
>  	xtal: xtal-clk {
> 

Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
index 27bb242dc95d..cd3d23d2c6a2 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
@@ -2407,6 +2407,7 @@ 
 			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
 			     <GIC_PPI 10
 			(GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>;
+		arm,no-tick-in-suspend;
 	};
 
 	xtal: xtal-clk {