zephyr/subsys/power/policy/Kconfig
Anas Nashif 3ae52624ff license: cleanup: add SPDX Apache-2.0 license identifier
Update the files which contain no license information with the
'Apache-2.0' SPDX license identifier.  Many source files in the tree are
missing licensing information, which makes it harder for compliance
tools to determine the correct license.

By default all files without license information are under the default
license of Zephyr, which is Apache version 2.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-04-07 08:45:22 -04:00

76 lines
1.9 KiB
Plaintext

# SPDX-License-Identifier: Apache-2.0
choice
prompt "Idle State Power Management Policy"
help
Storage back-end to be used by the settings subsystem.
config SYS_PM_POLICY_RESIDENCY
bool "PM Policy based on CPU residency"
help
Select this option for PM policy based on CPU residencies.
config SYS_PM_POLICY_DUMMY
bool "Dummy PM Policy"
help
Dummy PM Policy which simply returns next PM state in a loop.
config SYS_PM_POLICY_APP
bool "Application PM Policy"
help
When this option is selected, the application must provide PM policy.
endchoice
if SYS_PM_POLICY_RESIDENCY
config SYS_PM_MIN_RESIDENCY_SLEEP_1
int "Sleep State 1 minimum residency"
depends on HAS_SYS_POWER_STATE_SLEEP_1
default 5000
help
Minimum residency in milliseconds to enter SYS_POWER_STATE_SLEEP_1
state.
config SYS_PM_MIN_RESIDENCY_SLEEP_2
int "Sleep State 2 minimum residency"
depends on HAS_SYS_POWER_STATE_SLEEP_2
default 10000
help
Minimum residency in milliseconds to enter SYS_POWER_STATE_SLEEP_2
state.
config SYS_PM_MIN_RESIDENCY_SLEEP_3
int "Sleep State 3 minimum residency"
depends on HAS_SYS_POWER_STATE_SLEEP_3
default 30000
help
Minimum residency in milliseconds to enter SYS_POWER_STATE_SLEEP_3
state.
config SYS_PM_MIN_RESIDENCY_DEEP_SLEEP_1
int "Deep Sleep State 1 minimum residency"
depends on HAS_SYS_POWER_STATE_DEEP_SLEEP_1
default 60000
help
Minimum residency in milliseconds to enter SYS_POWER_STATE_DEEP_SLEEP_1
state.
config SYS_PM_MIN_RESIDENCY_DEEP_SLEEP_2
int "Deep Sleep State 2 minimum residency"
depends on HAS_SYS_POWER_STATE_DEEP_SLEEP_2
default 90000
help
Minimum residency in milliseconds to enter SYS_POWER_STATE_DEEP_SLEEP_2
state.
config SYS_PM_MIN_RESIDENCY_DEEP_SLEEP_3
int "Deep Sleep State 3 minimum residency"
depends on HAS_SYS_POWER_STATE_DEEP_SLEEP_3
default 120000
help
Minimum residency in milliseconds to enter SYS_POWER_STATE_DEEP_SLEEP_3
state.
endif # SYS_PM_POLICY_RESIDENCY