zephyr/subsys/pm/policy/Kconfig
Emil Lindqvist f7dad07bb0 kconfig: add names to some choices
In order to be able to make a "choice" from any other
Kconfig.defconfig (-ish) file, the choice needs to be named.
This commit names a few choices.

Signed-off-by: Emil Lindqvist <emil@lindq.gr>
2021-09-28 19:56:32 -04:00

32 lines
762 B
Plaintext

# SPDX-License-Identifier: Apache-2.0
choice PM_POLICY
prompt "Idle State Power Management Policy"
help
Select the idle state power management policy.
config PM_POLICY_RESIDENCY
bool "PM Policy based on CPU residency"
select PM_POLICY_RESIDENCY_DEFAULT
help
Select this option for PM policy based on CPU residencies.
config PM_POLICY_DUMMY
bool "Dummy PM Policy for testing purposes"
help
Dummy PM Policy which simply returns next PM state in a loop.
This policy is used for testing purposes only.
config PM_POLICY_APP
bool "Application PM Policy"
help
When this option is selected, the application must provide PM policy.
endchoice
config PM_POLICY_RESIDENCY_DEFAULT
bool
help
Use the default residency policy implementation