summaryrefslogtreecommitdiff
path: root/drivers/cpuidle/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpuidle/Kconfig')
-rw-r--r--drivers/cpuidle/Kconfig33
1 files changed, 33 insertions, 0 deletions
diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig
index 7dbc4a83c45..0e07e037933 100644
--- a/drivers/cpuidle/Kconfig
+++ b/drivers/cpuidle/Kconfig
@@ -2,6 +2,7 @@
config CPU_IDLE
bool "CPU idle PM support"
default ACPI
+ depends on PM
help
CPU idle is a generic framework for supporting software-controlled
idle processor power management. It includes modular cross-platform
@@ -18,3 +19,35 @@ config CPU_IDLE_GOV_MENU
bool
depends on CPU_IDLE && NO_HZ
default y
+
+config UX500_CPUIDLE
+ tristate "CPUIdle support"
+ depends on CPU_IDLE && (MFD_DB5500_PRCMU || MFD_DB8500_PRCMU) && !RTC_DRV_PL031 && PM
+ default y
+ select GENERIC_CLOCKEVENTS_BROADCAST
+ select UX500_CONTEXT
+ help
+ Add support for CPUIdle for U8500.
+
+config U8500_CPUIDLE_DEEPEST_STATE
+ int "Deepest sleep state"
+ default 4 if UX500_SOC_DB8500
+ default 1 if UX500_SOC_DB5500
+ depends on UX500_CPUIDLE
+ help
+ Set deepest sleep state. See the cstate struct in cpuidle.c.
+ Default is ApSleep.
+
+config UX500_CPUIDLE_APDEEPIDLE
+ bool "CPUIdle ApDeepIdle"
+ depends on UX500_CPUIDLE
+ help
+ Adds the power level ApDeepIdle, where APE is powered on while
+ ARM is powered off. Default n.
+
+config UX500_CPUIDLE_DEBUG
+ bool "CPUIdle debug"
+ depends on UX500_CPUIDLE && DEBUG_FS
+ help
+ Add debugging support for CPUIdle for Ux500.
+