1# CPU power management driver configuration options
2
3# Copyright (c) 2021 Carlo Caione <ccaione@baylibre.com>
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig PM_CPU_OPS
7	bool "CPU power management drivers"
8	help
9	  Enable CPU power management drivers configuration
10
11if PM_CPU_OPS
12
13module = PM_CPU_OPS
14module-str = pm_cpu_ops
15source "subsys/logging/Kconfig.template.log_config"
16
17config PM_CPU_OPS_HAS_DRIVER
18	bool
19
20config PM_CPU_OPS_PSCI
21	bool "Support for the ARM Power State Coordination Interface (PSCI)"
22	default y
23	depends on DT_HAS_ARM_PSCI_0_2_ENABLED || DT_HAS_ARM_PSCI_1_1_ENABLED
24	select PM_CPU_OPS_HAS_DRIVER
25	select HAS_POWEROFF
26	help
27	  Say Y here if you want Zephyr to communicate with system firmware
28	  implementing the PSCI specification for CPU-centric power
29	  management operations described in ARM document number ARM DEN
30	  0022A ("Power State Coordination Interface System Software on
31	  ARM processors").
32
33config PSCI_SHELL
34	bool "Support for PSCI interface shell commands"
35	depends on SHELL && PM_CPU_OPS_PSCI
36	help
37	  Say Y here if you need to enable PSCI interface shell commands
38	  like 'warm' and 'cold' reset commands.
39
40endif
41