Skip to content

Commit 53f2ac9

Browse files
RanWang1Shawn Guo
authored andcommitted
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. Fixes: 8897f32 ("arm64: dts: Add support for NXP LS1028A SoC") Signed-off-by: Ran Wang <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent b25af2f commit 53f2ac9

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
enable-method = "psci";
2929
clocks = <&clockgen 1 0>;
3030
next-level-cache = <&l2>;
31-
cpu-idle-states = <&CPU_PH20>;
31+
cpu-idle-states = <&CPU_PW20>;
3232
};
3333

3434
cpu1: cpu@1 {
@@ -38,7 +38,7 @@
3838
enable-method = "psci";
3939
clocks = <&clockgen 1 0>;
4040
next-level-cache = <&l2>;
41-
cpu-idle-states = <&CPU_PH20>;
41+
cpu-idle-states = <&CPU_PW20>;
4242
};
4343

4444
l2: l2-cache {
@@ -53,13 +53,13 @@
5353
*/
5454
entry-method = "arm,psci";
5555

56-
CPU_PH20: cpu-ph20 {
57-
compatible = "arm,idle-state";
58-
idle-state-name = "PH20";
59-
arm,psci-suspend-param = <0x00010000>;
60-
entry-latency-us = <1000>;
61-
exit-latency-us = <1000>;
62-
min-residency-us = <3000>;
56+
CPU_PW20: cpu-pw20 {
57+
compatible = "arm,idle-state";
58+
idle-state-name = "PW20";
59+
arm,psci-suspend-param = <0x0>;
60+
entry-latency-us = <2000>;
61+
exit-latency-us = <2000>;
62+
min-residency-us = <6000>;
6363
};
6464
};
6565

0 commit comments

Comments
 (0)