zephyr/arch/arm64
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
..
core drivers: pm_cpu_ops: psci: provide sys_poweroff hook 2023-08-04 16:59:36 +02:00
include arch: arm64: Fix z_arm64_fatal_error declaration error 2023-07-11 15:04:54 +02:00
CMakeLists.txt arm/arm64: Make ARM64 a standalone architecture 2021-03-31 10:34:33 -05:00
Kconfig arm/arm64: Make ARM64 a standalone architecture 2021-03-31 10:34:33 -05:00