dts: add cpu idle for txl 32bit [1/1]
authorSandy Luo <sandy.luo@amlogic.com>
Mon, 22 Oct 2018 08:32:28 +0000 (16:32 +0800)
committerSandy Luo <sandy.luo@amlogic.com>
Mon, 22 Oct 2018 08:35:34 +0000 (16:35 +0800)
PD#SWPL-815

Problem:
It cann't suspend/resume for txl platform because idle issue.

Solution:
Open idle in dts file.

Verify:
verified by txl P321 platform

Change-Id: I8f133eb8c974f5fe6f351a4d9f83e677209ce7d2
Signed-off-by: Sandy Luo <sandy.luo@amlogic.com>
arch/arm/boot/dts/amlogic/mesontxl.dtsi
arch/arm/boot/dts/amlogic/mesontxlx.dtsi

index d585dc2..317228f 100644 (file)
@@ -60,7 +60,7 @@
                        enable-method = "psci";
                        clocks = <&scpi_dvfs 0>;
                        clock-names = "cpu-cluster.0";
-                       //cpu-idle-states = <&SYSTEM_SLEEP_0>;
+                       cpu-idle-states = <&SYSTEM_SLEEP_0>;
                };
 
                CPU1:cpu@1 {
@@ -70,7 +70,7 @@
                        enable-method = "psci";
                        clocks = <&scpi_dvfs 0>;
                        clock-names = "cpu-cluster.0";
-                       //cpu-idle-states = <&SYSTEM_SLEEP_0>;
+                       cpu-idle-states = <&SYSTEM_SLEEP_0>;
                };
 
                CPU2:cpu@2 {
@@ -80,7 +80,7 @@
                        enable-method = "psci";
                        clocks = <&scpi_dvfs 0>;
                        clock-names = "cpu-cluster.0";
-                       //cpu-idle-states = <&SYSTEM_SLEEP_0>;
+                       cpu-idle-states = <&SYSTEM_SLEEP_0>;
                };
 
                CPU3:cpu@3 {
@@ -90,7 +90,7 @@
                        enable-method = "psci";
                        clocks = <&scpi_dvfs 0>;
                        clock-names = "cpu-cluster.0";
-                       //cpu-idle-states = <&SYSTEM_SLEEP_0>;
+                       cpu-idle-states = <&SYSTEM_SLEEP_0>;
                };
 
                idle-states {
index b847018..7696827 100644 (file)
 
        wdt_ee: watchdog@0xffd0f0d0 {
                compatible = "amlogic, meson-wdt";
-               status = "watch";
+               status = "okay";
                default_timeout=<10>;
                reset_watchdog_method=<1>; /* 0:sysfs,1:kernel */
                reset_watchdog_time=<2>;