Commit da77c6d9 authored by Joseph Lo's avatar Joseph Lo Committed by Thierry Reding

arm64: tegra: Add CPU idle states properties for Tegra210

Add idle states properties for generic ARM CPU idle driver. This
includes a cpu-sleep state which is the power down state of CPU cores.
Signed-off-by: default avatarJoseph Lo <josephl@nvidia.com>
Acked-by: default avatarJon Hunter <jonathanh@nvidia.com>
Acked-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent d9931a18
...@@ -1371,24 +1371,43 @@ cpu@0 { ...@@ -1371,24 +1371,43 @@ cpu@0 {
<&dfll>; <&dfll>;
clock-names = "cpu_g", "pll_x", "pll_p", "dfll"; clock-names = "cpu_g", "pll_x", "pll_p", "dfll";
clock-latency = <300000>; clock-latency = <300000>;
cpu-idle-states = <&CPU_SLEEP>;
}; };
cpu@1 { cpu@1 {
device_type = "cpu"; device_type = "cpu";
compatible = "arm,cortex-a57"; compatible = "arm,cortex-a57";
reg = <1>; reg = <1>;
cpu-idle-states = <&CPU_SLEEP>;
}; };
cpu@2 { cpu@2 {
device_type = "cpu"; device_type = "cpu";
compatible = "arm,cortex-a57"; compatible = "arm,cortex-a57";
reg = <2>; reg = <2>;
cpu-idle-states = <&CPU_SLEEP>;
}; };
cpu@3 { cpu@3 {
device_type = "cpu"; device_type = "cpu";
compatible = "arm,cortex-a57"; compatible = "arm,cortex-a57";
reg = <3>; reg = <3>;
cpu-idle-states = <&CPU_SLEEP>;
};
idle-states {
entry-method = "psci";
CPU_SLEEP: cpu-sleep {
compatible = "arm,idle-state";
arm,psci-suspend-param = <0x40000007>;
entry-latency-us = <100>;
exit-latency-us = <30>;
min-residency-us = <1000>;
wakeup-latency-us = <130>;
idle-state-name = "cpu-sleep";
status = "disabled";
};
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment