zephyr/subsys/pm
Jordan Yates db3d51bb7d pm: device_runtime: add zephyr,pm-device-runtime-auto
Add the `zephyr,pm-device-runtime-auto` flag to `pm.yaml` and
`struct pm_device`.

This flag is intended to signify to the boot system that device runtime
PM should be automatically enabled on the device after the init function
has run.

Only run `pm_device_runtime_auto_enable` function on a device if
initialisation succeeded. This prevents actions being run on devices
that are not ready.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2023-03-29 12:21:13 -04:00
..
CMakeLists.txt pm: policy: move constraints to policy API 2022-03-16 15:26:47 +01:00
device_runtime.c pm: device_runtime: add zephyr,pm-device-runtime-auto 2023-03-29 12:21:13 -04:00
device.c pm: device: rework pm_device_children_action_run 2023-01-25 14:58:52 +00:00
Kconfig pm: runtime: Migrate from condition variables to events 2022-12-15 22:35:38 +01:00
pm_stats.c smp: Move for loops to use arch_num_cpus instead of CONFIG_MP_NUM_CPUS 2022-10-21 13:14:58 +02:00
pm_stats.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
pm.c subsys/pm: Use correct timeout API 2023-03-09 09:21:12 +01:00
policy.c pm: policy: allow multiple subscribers to latency changes 2022-08-03 11:19:17 +02:00
state.c pm: state: use DT_FOREACH_CHILD_SEP 2022-08-30 16:19:57 +02:00