From 56117f9f91bde8d3393b327ca7d0ad99ec042d71 Mon Sep 17 00:00:00 2001 From: Ramakrishna Pallala Date: Tue, 18 Sep 2018 11:48:37 +0530 Subject: [PATCH] arch: Kconfig: Add Kconfig options for Low Power States Add Kconfig options for Low Power and Deep Sleep States which need to be selected by the SoC's based on it's supported Low Power States. Signed-off-by: Ramakrishna Pallala --- arch/Kconfig | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/Kconfig b/arch/Kconfig index 205e1eea68d..aaa6ec1937d 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -219,6 +219,27 @@ config SYS_POWER_LOW_POWER_STATE_SUPPORTED This option signifies that the target supports the SYS_POWER_LOW_POWER_STATE configuration option. +config SYS_POWER_STATE_CPU_LPS_SUPPORTED + # Hidden + bool + help + This option signifies that the target supports the SYS_POWER_STATE_CPU_LPS + configuration option. + +config SYS_POWER_STATE_CPU_LPS_1_SUPPORTED + # Hidden + bool + help + This option signifies that the target supports the SYS_POWER_STATE_CPU_LPS_1 + configuration option. + +config SYS_POWER_STATE_CPU_LPS_2_SUPPORTED + # Hidden + bool + help + This option signifies that the target supports the SYS_POWER_STATE_CPU_LPS_2 + configuration option. + config SYS_POWER_DEEP_SLEEP_SUPPORTED # Hidden bool @@ -226,6 +247,27 @@ config SYS_POWER_DEEP_SLEEP_SUPPORTED This option signifies that the target supports the SYS_POWER_DEEP_SLEEP configuration option. +config SYS_POWER_STATE_DEEP_SLEEP_SUPPORTED + # Hidden + bool + help + This option signifies that the target supports the SYS_POWER_STATE_DEEP_SLEEP + configuration option. + +config SYS_POWER_STATE_DEEP_SLEEP_1_SUPPORTED + # Hidden + bool + help + This option signifies that the target supports the SYS_POWER_STATE_DEEP_SLEEP_1 + configuration option. + +config SYS_POWER_STATE_DEEP_SLEEP_2_SUPPORTED + # Hidden + bool + help + This option signifies that the target supports the SYS_POWER_STATE_DEEP_SLEEP_2 + configuration option. + config BOOTLOADER_CONTEXT_RESTORE_SUPPORTED # Hidden bool