diff options
author | Jonas Aaberg <jonas.aberg@stericsson.com> | 2011-05-24 09:34:25 +0200 |
---|---|---|
committer | said m bagheri <ebgheri@steludxu2848.(none)> | 2011-06-17 13:42:05 +0200 |
commit | 986f9609d06635e51107e4972d4760ef1f3952b4 (patch) | |
tree | 8c221b2dfcf946dfd9e3cab3b31a0b8227b1b3a2 /arch | |
parent | 73da56844b2b16c00071ed2a8a7ac3609dc95c73 (diff) |
ARM: ux500: cpuidle: Kconfig for ApDeepIdle
Add Kconfig Kconfig option to enable ApDeepIdle.
Default is disabled.
ST-Ericsson Linux next: ER338824
ST-Ericsson ID: ER338876
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ie54a3ca8da460346ac48d421cb38ebb7fd732c8e
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23705
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-ux500/pm/Kconfig | 7 | ||||
-rw-r--r-- | arch/arm/mach-ux500/pm/cpuidle.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/pm/Kconfig b/arch/arm/mach-ux500/pm/Kconfig index 00f0b95a0ea..d6454eab2a5 100644 --- a/arch/arm/mach-ux500/pm/Kconfig +++ b/arch/arm/mach-ux500/pm/Kconfig @@ -22,6 +22,13 @@ config U8500_CPUIDLE_DEEPEST_STATE Set deepest sleep state. See the cstate struct in cpuidle.c. Default is ApSleep. +config U8500_CPUIDLE_APDEEPIDLE + bool "CPUIdle ApDeepIdle" + depends on U8500_CPUIDLE + help + Adds the power level ApDeepIdle, where APE is powered on while + ARM is powered off. Default n. + config U8500_CPUIDLE_DEBUG bool "CPUIdle debug" depends on U8500_CPUIDLE && DEBUG_FS diff --git a/arch/arm/mach-ux500/pm/cpuidle.c b/arch/arm/mach-ux500/pm/cpuidle.c index 7c8bb5bf0e8..ba02010a239 100644 --- a/arch/arm/mach-ux500/pm/cpuidle.c +++ b/arch/arm/mach-ux500/pm/cpuidle.c @@ -151,7 +151,7 @@ static struct cstate cstates[] = { .state = CI_SLEEP, .desc = "ApSleep, UL PLL off ", }, -#ifdef ENABLE_AP_DEEP_IDLE +#ifdef CONFIG_U8500_CPUIDLE_APDEEPIDLE { .enter_latency = 300, .exit_latency = DEEP_SLEEP_WAKE_UP_LATENCY, |