diff options
| author | Jisheng Zhang <jszhang@marvell.com> | 2015-11-30 21:41:58 +0800 | 
|---|---|---|
| committer | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2015-12-06 10:25:28 +0100 | 
| commit | 1544f99c0ac08376c0a3888aef7722d9f678020c (patch) | |
| tree | a158160d2dde99d7ec02c98266b0d20391fc5343 | |
| parent | 5fbb15316fdd8f00143179ffb3a03f501c4b50dc (diff) | |
arm64: dts: berlin4ct: support cpuidle-dt
This patch adds an idle-states node to describe the berlin4ct idle
states and also adds references to the idle-states node in all CPU
nodes. After this patch cpuidle is enabled.
Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
| -rw-r--r-- | arch/arm64/boot/dts/marvell/berlin4ct.dtsi | 16 | 
1 files changed, 16 insertions, 0 deletions
| diff --git a/arch/arm64/boot/dts/marvell/berlin4ct.dtsi b/arch/arm64/boot/dts/marvell/berlin4ct.dtsi index 6cd77272ab88..099ad93bb49b 100644 --- a/arch/arm64/boot/dts/marvell/berlin4ct.dtsi +++ b/arch/arm64/boot/dts/marvell/berlin4ct.dtsi @@ -68,6 +68,7 @@  			device_type = "cpu";  			reg = <0x0>;  			enable-method = "psci"; +			cpu-idle-states = <&CPU_SLEEP_0>;  		};  		cpu1: cpu@1 { @@ -75,6 +76,7 @@  			device_type = "cpu";  			reg = <0x1>;  			enable-method = "psci"; +			cpu-idle-states = <&CPU_SLEEP_0>;  		};  		cpu2: cpu@2 { @@ -82,6 +84,7 @@  			device_type = "cpu";  			reg = <0x2>;  			enable-method = "psci"; +			cpu-idle-states = <&CPU_SLEEP_0>;  		};  		cpu3: cpu@3 { @@ -89,6 +92,19 @@  			device_type = "cpu";  			reg = <0x3>;  			enable-method = "psci"; +			cpu-idle-states = <&CPU_SLEEP_0>; +		}; + +		idle-states { +			entry-method = "psci"; +			CPU_SLEEP_0: cpu-sleep-0 { +				compatible = "arm,idle-state"; +				local-timer-stop; +				arm,psci-suspend-param = <0x0010000>; +				entry-latency-us = <75>; +				exit-latency-us = <155>; +				min-residency-us = <1000>; +			};  		};  	}; | 
