zephyr/drivers/pm_cpu_ops/Kconfig
Huifeng Zhang 7bf6d88029 driver: pm_cpu_ops: change PM_CPU_OPS_PSCI's dependency
Armv8-A and Armv8-R both support PSCI. So PM_CPU_OPS_PSCI's
dependency should be "ARM64" rather than "ARMV8-A".

Signed-off-by: Huifeng Zhang <Huifeng.Zhang@arm.com>
2021-07-13 09:30:29 -04:00

36 lines
966 B
Plaintext

# CPU power management driver configuration options
# Copyright (c) 2021 Carlo Caione <ccaione@baylibre.com>
# SPDX-License-Identifier: Apache-2.0
menuconfig PM_CPU_OPS
bool "CPU power management drivers"
help
Enable CPU power management drivers configuration
if PM_CPU_OPS
module = PM_CPU_OPS
module-str = pm_cpu_ops
source "subsys/logging/Kconfig.template.log_config"
DT_COMPAT_ARM_PSCI := arm,psci-0.2
config PM_CPU_OPS_HAS_DRIVER
bool
config PM_CPU_OPS_PSCI
bool "Support for the ARM Power State Coordination Interface (PSCI)"
depends on ARM64
depends on HAS_ARM_SMCCC
select PM_CPU_OPS_HAS_DRIVER
default $(dt_compat_enabled,$(DT_COMPAT_ARM_PSCI))
help
Say Y here if you want Zephyr to communicate with system firmware
implementing the PSCI specification for CPU-centric power
management operations described in ARM document number ARM DEN
0022A ("Power State Coordination Interface System Software on
ARM processors").
endif