aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/cpuidle.c
Commit message (Collapse)AuthorAge
* ARM: ux500: add spin_unlock(&master_lock).Steve Zhan2013-01-23
| | | | | | | | Add the missing spin_unlock statement to unlock master_lock when prcmu_gic_decouple() return TRUE Signed-off-by: steve zhan <zhanzhenbo@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* ARM: ux500: add the cpuidle driver for WFI and ARM retentionDaniel Lezcano2012-05-01
This patch adds the cpuidle driver for the ux500 SoC. The boards saves 12mA with these states. It is based on the latest cpuidle consolidation from Robert Lee. The cpu can go to retention only if the other core is in WFI. If the other cpu is in WFI and we decoupled the gic from the cores, then we have the guarantee, it won't be wake up. It is up to the prcmu firmware to recouple the gic automatically after the power state mode is selected. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Vincent Guittot <vincent.guittot@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>