From a404d4df6bdb4501006f8cca51de8593d4d46189 Mon Sep 17 00:00:00 2001 From: Ramakrishna Pallala Date: Thu, 27 Sep 2018 09:50:01 +0530 Subject: [PATCH] soc: arc: quark_se_c1000_ss: Select the supported Power States Select the Low Power States supported by Quark_SE_C1000_SS SoC series. Signed-off-by: Ramakrishna Pallala --- soc/arc/quark_se_c1000_ss/Kconfig.soc | 5 +++++ soc/arc/quark_se_c1000_ss/soc_power.h | 1 + 2 files changed, 6 insertions(+) diff --git a/soc/arc/quark_se_c1000_ss/Kconfig.soc b/soc/arc/quark_se_c1000_ss/Kconfig.soc index 15429a68df6..08747bea9f8 100644 --- a/soc/arc/quark_se_c1000_ss/Kconfig.soc +++ b/soc/arc/quark_se_c1000_ss/Kconfig.soc @@ -2,5 +2,10 @@ config SOC_QUARK_SE_C1000_SS bool "Intel Quark SE C1000- Sensor Sub System" select SYS_POWER_LOW_POWER_STATE_SUPPORTED + select SYS_POWER_STATE_CPU_LPS_SUPPORTED + select SYS_POWER_STATE_CPU_LPS_1_SUPPORTED select SYS_POWER_DEEP_SLEEP_SUPPORTED + select SYS_POWER_STATE_DEEP_SLEEP_SUPPORTED + select SYS_POWER_STATE_DEEP_SLEEP_1_SUPPORTED + select SYS_POWER_STATE_DEEP_SLEEP_2_SUPPORTED select HAS_QMSI diff --git a/soc/arc/quark_se_c1000_ss/soc_power.h b/soc/arc/quark_se_c1000_ss/soc_power.h index ebdb529b05d..1d400e585f2 100644 --- a/soc/arc/quark_se_c1000_ss/soc_power.h +++ b/soc/arc/quark_se_c1000_ss/soc_power.h @@ -22,6 +22,7 @@ extern "C" { enum power_states { SYS_POWER_STATE_CPU_LPS, /* SS1 state with Timer ON */ SYS_POWER_STATE_CPU_LPS_1, /* SS2 state */ + SYS_POWER_STATE_CPU_LPS_2, /* Not supported*/ SYS_POWER_STATE_DEEP_SLEEP, /* SS2 with LPSS enabled state */ SYS_POWER_STATE_DEEP_SLEEP_1, /* SLEEP state */ SYS_POWER_STATE_DEEP_SLEEP_2, /* SLEEP state with LPMODE enabled */