zephyr/include/pm
Flavio Ceolin 9239fd4a90 pm: device: Simplify device pm states
As discussed in issues/38619, this commit aims to simplify device
power management. It was removed PM_DEVICE_SATE_LOW_POWER.
The power subsystem now doesn't need to figure out which device state to
use of a given system power state. It just suspend and resume devices.

Devices now just need to respond to ACTIVE and SUSPEND and OFF actions
and they are free to use any particular substate they have when the
subsystem asks to suspend. They also don't need to worry about states
transitions (unless they have multiple substates) because the system
will just request them to suspend if they are active and vice-versa.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>

rebase
2021-10-26 15:02:15 -05:00
..
device_runtime.h pm: device_runtime: Change API behavior s/_sync/_async 2021-05-26 10:56:55 -04:00
device.h pm: device: Simplify device pm states 2021-10-26 15:02:15 -05:00
pm.h pm: Add a new function to query the next power state 2021-10-26 15:02:15 -05:00
policy.h pm: policy: Fix API documentation 2021-06-14 21:48:27 -04:00
state.h pm: state: Fix documentation 2021-06-14 17:37:27 -04:00