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> |
||
|---|---|---|
| .. | ||
| arc/synopsys | ||
| arm | ||
| arm64 | ||
| bindings | ||
| common | ||
| nios2/intel | ||
| posix | ||
| riscv | ||
| sparc/gaisler | ||
| x86/intel | ||
| xtensa | ||
| binding-template.yaml | ||
| Kconfig | ||