aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRan Wang <ran.wang_1@nxp.com>2019-05-07 14:28:37 +0800
committerDaniel Thompson <daniel@redfelineninja.org.uk>2019-09-17 16:03:04 +0100
commit79c1e4bb802f7e3a529e78bca96038c11b09cf8e (patch)
tree32fdd8a790ddd0ec55309d7ede370b01accdff6d
parentd060c9b139365e16295a0daee604715e49b93857 (diff)
downloadlinux-79c1e4bb802f7e3a529e78bca96038c11b09cf8e.tar.gz
arm64: dts: ls1028a: Fix CPU idle fail.
PSCI spec define 1st parameter's bit 16 of function CPU_SUSPEND to indicate CPU State Type: 0 for standby, 1 for power down. In this case, we want to select standby for CPU idle feature. But current setting wrongly select power down and cause CPU SUSPEND fail every time. Need this fix. Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi18
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
index e19c5229e103..12cda4dc2f79 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
@@ -28,7 +28,7 @@
enable-method = "psci";
clocks = <&clockgen 1 0>;
next-level-cache = <&l2>;
- cpu-idle-states = <&CPU_PH20>;
+ cpu-idle-states = <&CPU_PW20>;
#cooling-cells = <2>;
};
@@ -39,7 +39,7 @@
enable-method = "psci";
clocks = <&clockgen 1 0>;
next-level-cache = <&l2>;
- cpu-idle-states = <&CPU_PH20>;
+ cpu-idle-states = <&CPU_PW20>;
#cooling-cells = <2>;
};
@@ -55,13 +55,13 @@
*/
entry-method = "arm,psci";
- CPU_PH20: cpu-ph20 {
- compatible = "arm,idle-state";
- idle-state-name = "PH20";
- arm,psci-suspend-param = <0x00010000>;
- entry-latency-us = <1000>;
- exit-latency-us = <1000>;
- min-residency-us = <3000>;
+ CPU_PW20: cpu-pw20 {
+ compatible = "arm,idle-state";
+ idle-state-name = "PW20";
+ arm,psci-suspend-param = <0x0>;
+ entry-latency-us = <2000>;
+ exit-latency-us = <2000>;
+ min-residency-us = <6000>;
};
};