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
17DT_COMPAT_ARM_PSCI := arm,psci-0.2
18
19config PM_CPU_OPS_HAS_DRIVER
20	bool
21
22config PM_CPU_OPS_PSCI
23	bool "Support for the ARM Power State Coordination Interface (PSCI)"
24	depends on ARM64
25	depends on HAS_ARM_SMCCC
26	select PM_CPU_OPS_HAS_DRIVER
27	default $(dt_compat_enabled,$(DT_COMPAT_ARM_PSCI))
28	help
29	  Say Y here if you want Zephyr to communicate with system firmware
30	  implementing the PSCI specification for CPU-centric power
31	  management operations described in ARM document number ARM DEN
32	  0022A ("Power State Coordination Interface System Software on
33	  ARM processors").
34
35endif
36