zephyr/drivers/pm_cpu_ops
Gerard Marull-Paretas 28c139f653 drivers: pm_cpu_ops: psci: provide sys_poweroff hook
Instead of implementing a custom power off API (pm_system_off),
implement the sys_poweroff hook, and indicate power off is supported by
selecting HAS_POWEROFF. Note that according to the PSCI specification
(DEN0022E), the SYSTEM_OFF operation does not return, however, an error
is printed and system is halted in case this occurs.

Note that the pm_system_off has also been deleted, from now on, systems
supporting PSCI should enable CONFIG_POWEROFF and call the standard
sys_poweroff() API.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2023-08-04 16:59:36 +02:00
..
CMakeLists.txt drivers: pm_cpu_ops: Add support for multiple PSCI versions 2023-07-25 16:58:01 +00:00
Kconfig drivers: pm_cpu_ops: psci: provide sys_poweroff hook 2023-08-04 16:59:36 +02:00
pm_cpu_ops_psci.c drivers: pm_cpu_ops: psci: provide sys_poweroff hook 2023-08-04 16:59:36 +02:00
pm_cpu_ops_psci.h drivers: pm_cpu_ops: Add support for multiple PSCI versions 2023-07-25 16:58:01 +00:00
pm_cpu_ops_weak_impl.c
psci_shell.c drivers: pm_cpu_ops: Add support for multiple PSCI versions 2023-07-25 16:58:01 +00:00