zephyr/tests/kernel/profiling/profiling_api/Kconfig
Piotr Mienkowski f04a4c9deb power: rename CPU_LPS_n power states
CPU_LPS_n name used to indicate a low power state is cryptic and
incorrect. The low power states act on the whole SoC and not exclusively
on the CPU. This patch renames CPU_LPS_n states to LOW_POWER_n. Also
HAS_ pattern for Kconfig options is used in favor of a non standard
_SUPPORTED. Naming of deep sleep states was adjusted accordingly.

Following is a detailed list of string replacements used:
s/SYS_POWER_STATE_CPU_LPS_(\d)_SUPPORTED/HAS_STATE_LOW_POWER_$1/
s/SYS_POWER_STATE_CPU_LPS_(\d)/SYS_POWER_STATE_LOW_POWER_$1/
s/SYS_POWER_STATE_DEEP_SLEEP_(\d)_SUPPORTED/HAS_STATE_DEEP_SLEEP_$1/

Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
2019-02-26 02:30:13 +01:00

12 lines
327 B
Plaintext

config KERNEL_PROFILING_API_TEST
bool
default y
select HAS_STATE_LOW_POWER_1
help
Hidden option enabling LPS_0 power state regardless of hardware
support. This ensures that power management hooks used in this
test to profile idle thread will be executed.
# Include Zephyr's Kconfig.
source "$ZEPHYR_BASE/Kconfig"