Skip to content

Commit 4efec06

Browse files
ozersacfriedt
authored andcommitted
dts: arm: adi: Add MAX32657 power management states
Add basic power management states of MAX32657. After UG/DS has been finalized the values and states might be need to be updated. Signed-off-by: Sadik Ozer <[email protected]>
1 parent ddf97dd commit 4efec06

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

dts/arm/adi/max32/max32657_common.dtsi

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,43 @@
2525
#address-cells = <1>;
2626
#size-cells = <1>;
2727

28+
cpu-power-states = <&idle &suspend &standby>;
29+
2830
mpu: mpu@e000ed90 {
2931
compatible = "arm,armv8m-mpu";
3032
reg = <0xe000ed90 0x40>;
3133
};
3234
};
35+
36+
power-states {
37+
/* Sleep Mode */
38+
idle: idle {
39+
compatible = "zephyr,power-state";
40+
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>;
54+
};
55+
/* Standby Mode */
56+
standby: standby {
57+
compatible = "zephyr,power-state";
58+
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>;
63+
};
64+
};
3365
};
3466

3567
clocks {

0 commit comments

Comments
 (0)