Integrating sleep, standby, and shutdown mode into Zephyr low power PM #113081
Replies: 2 comments 2 replies
-
|
@saeed-molaie As you mention, this property is used for power states that could be automatically selected. As such "shutdown" doesn't apply since it can only be selected by application (on user action, typically). About "Standby", beware. STM32 and Zephyr standby notions differ: |
Beta Was this translation helpful? Give feedback.
-
These additional features might be useful in some cases so perhaps we should implement a Kconfig option which allows selecting which mode (
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Does it make sense to add sleep, standby, and shutdown mode to cpu power states so that PM automatically selects the best power state, taking into account all the available STM32U5 power states (not just stop 0-3)?
cpu-power-states = <&stop0 &stop1 &stop2>;zephyr/dts/arm/st/u5/stm32u5.dtsi
Line 42 in c79b1e8
FYI, tried adding standby, but it looks like it will require a bit of more work because currently it does not respond to RTC interrupts. I am guessing shutdown will have the same issue.
@erwango @mathieuchopstm
Beta Was this translation helpful? Give feedback.
All reactions