diff options
author | Stefan Krsmanovic <stefan.krsmanovic@aggios.com> | 2016-10-21 12:44:56 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2017-01-10 10:18:12 +0100 |
commit | 2e15b071a21ae1fbbf8bf22ab8757cce79d036d5 (patch) | |
tree | 6d0fd5ffa12c1fb7b67c870bdebe8ebbb464b530 /arch/arm/dts/zynqmp.dtsi | |
parent | 8925e5996db05abca28ad2858e011f3b45724d5a (diff) | |
download | u-boot-imx-2e15b071a21ae1fbbf8bf22ab8757cce79d036d5.zip u-boot-imx-2e15b071a21ae1fbbf8bf22ab8757cce79d036d5.tar.gz u-boot-imx-2e15b071a21ae1fbbf8bf22ab8757cce79d036d5.tar.bz2 |
ARM64: zynqmp: Add idle state for ZynqMP
Added the idle-states node to describe zynqmp idle states. Only cpu-sleep-0
idle state is added in this patch. References to the idle-states node are
added in all CPU nodes. Time values: entry/exit latencies and min-residency,
needs to be tuned. arm,psci-suspend-param is selected to comply with PSCIv1.0
and Extended StateID format.
Signed-off-by: Stefan Krsmanovic <stefan.krsmanovic@aggios.com>
Acked-by: Will Wong <willw@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/dts/zynqmp.dtsi')
-rw-r--r-- | arch/arm/dts/zynqmp.dtsi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index de1f160..e2e76d7 100644 --- a/arch/arm/dts/zynqmp.dtsi +++ b/arch/arm/dts/zynqmp.dtsi @@ -22,6 +22,7 @@ device_type = "cpu"; enable-method = "psci"; reg = <0x0>; + cpu-idle-states = <&CPU_SLEEP_0>; }; cpu@1 { @@ -29,6 +30,7 @@ device_type = "cpu"; enable-method = "psci"; reg = <0x1>; + cpu-idle-states = <&CPU_SLEEP_0>; }; cpu@2 { @@ -36,6 +38,7 @@ device_type = "cpu"; enable-method = "psci"; reg = <0x2>; + cpu-idle-states = <&CPU_SLEEP_0>; }; cpu@3 { @@ -43,6 +46,20 @@ device_type = "cpu"; enable-method = "psci"; reg = <0x3>; + cpu-idle-states = <&CPU_SLEEP_0>; + }; + + idle-states { + entry-mehod = "arm,psci"; + + CPU_SLEEP_0: cpu-sleep-0 { + compatible = "arm,idle-state"; + arm,psci-suspend-param = <0x40000000>; + local-timer-stop; + entry-latency-us = <300>; + exit-latency-us = <600>; + min-residency-us = <800000>; + }; }; }; |