summaryrefslogtreecommitdiff
authorYan Wang <yan.wang@amlogic.com>2018-08-01 03:12:22 (GMT)
committer Yuehu Mi <yuehu.mi@amlogic.com>2018-08-02 09:44:00 (GMT)
commit8342aed2ee201cc865c9a5b713b9dbbbdfb88660 (patch)
treede51542f4d02528ccbc91169f7a39082cb1298d0
parent4c8082194e4757731361b739c6abe8e94945c423 (diff)
downloadcommon-8342aed2ee201cc865c9a5b713b9dbbbdfb88660.zip
common-8342aed2ee201cc865c9a5b713b9dbbbdfb88660.tar.gz
common-8342aed2ee201cc865c9a5b713b9dbbbdfb88660.tar.bz2
dts: txl: add cpu-idle-states nodes to str fun[1/1]
PD#170812: gxbb_pm: get system suspend level fail, need to add cpu-idle-states nodes Change-Id: I38128bcc6ef84cb1af0dbba556e65d47928182a1 Signed-off-by: yuehu mi <yuehu.mi@amlogic.com>
Diffstat
-rw-r--r--arch/arm64/boot/dts/amlogic/mesontxl.dtsi28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/mesontxl.dtsi b/arch/arm64/boot/dts/amlogic/mesontxl.dtsi
index 8fa6bc2..e040bd6 100644
--- a/arch/arm64/boot/dts/amlogic/mesontxl.dtsi
+++ b/arch/arm64/boot/dts/amlogic/mesontxl.dtsi
@@ -60,6 +60,7 @@
enable-method = "psci";
clocks = <&scpi_dvfs 0>;
clock-names = "cpu-cluster.0";
+ cpu-idle-states = <&SYSTEM_SLEEP_0>;
};
CPU1:cpu@1 {
@@ -69,6 +70,7 @@
enable-method = "psci";
clocks = <&scpi_dvfs 0>;
clock-names = "cpu-cluster.0";
+ cpu-idle-states = <&SYSTEM_SLEEP_0>;
};
CPU2:cpu@2 {
@@ -78,6 +80,7 @@
enable-method = "psci";
clocks = <&scpi_dvfs 0>;
clock-names = "cpu-cluster.0";
+ cpu-idle-states = <&SYSTEM_SLEEP_0>;
};
CPU3:cpu@3 {
@@ -87,6 +90,31 @@
enable-method = "psci";
clocks = <&scpi_dvfs 0>;
clock-names = "cpu-cluster.0";
+ cpu-idle-states = <&SYSTEM_SLEEP_0>;
+ };
+
+ idle-states {
+ entry-method = "arm,psci";
+/*
+ CPU_SLEEP_0: cpu-sleep-0 {
+ compatible = "arm,idle-state";
+ arm,psci-suspend-param = <0x0010000>;
+ local-timer-stop;
+ entry-latency-us = <3000>;
+ exit-latency-us = <3000>;
+ min-residency-us = <8000>;
+ };
+*/
+
+ SYSTEM_SLEEP_0: system-sleep-0 {
+ compatible = "arm,idle-state";
+ arm,psci-suspend-param = <0x0010000>;
+ local-timer-stop;
+ entry-latency-us = <0x3fffffff>;
+ exit-latency-us = <0x40000000>;
+ min-residency-us = <0xffffffff>;
+ };
+
};
};