2021-03-01 15:57:15 +08:00
|
|
|
# CPU power management driver configuration options
|
2020-12-19 22:52:48 +08:00
|
|
|
|
2021-03-01 15:57:15 +08:00
|
|
|
# Copyright (c) 2021 Carlo Caione <ccaione@baylibre.com>
|
2020-12-19 22:52:48 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-03-01 15:57:15 +08:00
|
|
|
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"
|
|
|
|
|
|
|
|
config PM_CPU_OPS_HAS_DRIVER
|
|
|
|
bool
|
|
|
|
|
|
|
|
config PM_CPU_OPS_PSCI
|
2020-12-19 22:52:48 +08:00
|
|
|
bool "Support for the ARM Power State Coordination Interface (PSCI)"
|
2022-08-12 11:16:02 +08:00
|
|
|
default y
|
2023-07-06 22:55:15 +08:00
|
|
|
depends on DT_HAS_ARM_PSCI_0_2_ENABLED || DT_HAS_ARM_PSCI_1_1_ENABLED
|
2021-03-01 15:57:15 +08:00
|
|
|
select PM_CPU_OPS_HAS_DRIVER
|
2023-07-20 22:24:38 +08:00
|
|
|
select HAS_POWEROFF
|
2020-12-19 22:52:48 +08:00
|
|
|
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").
|
|
|
|
|
2023-07-06 22:55:15 +08:00
|
|
|
config PSCI_SHELL
|
|
|
|
bool "Support for PSCI interface shell commands"
|
|
|
|
depends on SHELL && PM_CPU_OPS_PSCI
|
|
|
|
help
|
|
|
|
Say Y here if you need to enable PSCI interface shell commands
|
|
|
|
like 'warm' and 'cold' reset commands.
|
|
|
|
|
2020-12-19 22:52:48 +08:00
|
|
|
endif
|