Skip to content

Commit 6cc8b16

Browse files
ttmutcfriedt
authored andcommitted
dts: arm: adi: Update MAX32657 low power states and residencies
Set MAX32657 cpu power states as idle, standby and powerdown. Power down mode is disabled by default and can only be entered by calling pm_state_force. Note that residency durations may need to be updated depending on the resolution of chosen sleep timer. Signed-off-by: Tahsin Mutlugun <[email protected]>
1 parent 10b3fe8 commit 6cc8b16

File tree

1 file changed

+14
-19
lines changed

1 file changed

+14
-19
lines changed

dts/arm/adi/max32/max32657_common.dtsi

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
#address-cells = <1>;
2020
#size-cells = <0>;
2121

22-
cpu@0 {
22+
cpu0: cpu@0 {
2323
compatible = "arm,cortex-m33";
2424
reg = <0>;
2525
#address-cells = <1>;
2626
#size-cells = <1>;
2727

28-
cpu-power-states = <&idle &suspend &standby>;
28+
cpu-power-states = <&idle &standby &powerdown>;
2929

3030
mpu: mpu@e000ed90 {
3131
compatible = "arm,armv8m-mpu";
@@ -38,28 +38,23 @@
3838
idle: idle {
3939
compatible = "zephyr,power-state";
4040
power-state-name = "runtime-idle";
41-
/* The value not mentioned in UG/DS, set it as 1us */
42-
min-residency-us = <1>;
43-
/* Typical value is 0.847us as per of Datasheet */
44-
exit-latency-us = <1>;
45-
};
46-
/* Deep-sleep Mode */
47-
suspend: suspend {
48-
compatible = "zephyr,power-state";
49-
power-state-name = "suspend-to-idle";
50-
/* The value not mentioned in UG/DS, set it as 35us */
51-
min-residency-us = <35>;
52-
/* Typical value is 12.4us as per of Datasheet */
53-
exit-latency-us = <25>;
41+
min-residency-us = <50>;
42+
exit-latency-us = <5>;
5443
};
5544
/* Standby Mode */
5645
standby: standby {
5746
compatible = "zephyr,power-state";
5847
power-state-name = "standby";
59-
/* The value not mentioned in UG/DS, set it as 40us */
60-
min-residency-us = <40>;
61-
/* Typical value is 14.7us as per of Datasheet */
62-
exit-latency-us = <30>;
48+
min-residency-us = <1000>;
49+
exit-latency-us = <20>;
50+
};
51+
/* Powerdown Mode */
52+
powerdown: powerdown {
53+
compatible = "zephyr,power-state";
54+
power-state-name = "soft-off";
55+
min-residency-us = <2147483647>;
56+
exit-latency-us = <0>;
57+
status = "disabled";
6358
};
6459
};
6560
};

0 commit comments

Comments
 (0)