From 3a8e37caaef913998d10246d174fdc2c12ef91fc Mon Sep 17 00:00:00 2001 From: Ramakrishna Pallala Date: Thu, 27 Sep 2018 09:51:27 +0530 Subject: [PATCH] soc: x86: quark_se: Select the supported Power States Select the Low Power States supported by Intel Quark SE SoC series. Signed-off-by: Ramakrishna Pallala --- soc/x86/intel_quark/quark_se/Kconfig.series | 5 +++++ soc/x86/intel_quark/quark_se/soc_power.h | 1 + 2 files changed, 6 insertions(+) diff --git a/soc/x86/intel_quark/quark_se/Kconfig.series b/soc/x86/intel_quark/quark_se/Kconfig.series index 6b8a9e44849..fdee62aaa1d 100644 --- a/soc/x86/intel_quark/quark_se/Kconfig.series +++ b/soc/x86/intel_quark/quark_se/Kconfig.series @@ -12,7 +12,12 @@ config SOC_SERIES_QUARK_SE select LOAPIC_TIMER select XIP 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_STATE_CPU_LPS_2_SUPPORTED select SYS_POWER_DEEP_SLEEP_SUPPORTED + select SYS_POWER_STATE_DEEP_SLEEP_SUPPORTED + select SYS_POWER_STATE_DEEP_SLEEP_1_SUPPORTED select BOOTLOADER_CONTEXT_RESTORE_SUPPORTED select HAS_QMSI help diff --git a/soc/x86/intel_quark/quark_se/soc_power.h b/soc/x86/intel_quark/quark_se/soc_power.h index e42a79ffbcd..de19414af70 100644 --- a/soc/x86/intel_quark/quark_se/soc_power.h +++ b/soc/x86/intel_quark/quark_se/soc_power.h @@ -25,6 +25,7 @@ enum power_states { SYS_POWER_STATE_CPU_LPS_2, /* C2LP state */ SYS_POWER_STATE_DEEP_SLEEP, /* SLEEP state */ SYS_POWER_STATE_DEEP_SLEEP_1, /* SLEEP state with LPMODE enabled */ + SYS_POWER_STATE_DEEP_SLEEP_2, /* Not Supported */ SYS_POWER_STATE_MAX };