From 3ebabaa534c79a54c11a4ec1a81e62b76a4ada0c Mon Sep 17 00:00:00 2001 From: Daniel Lezcano Date: Thu, 19 Apr 2012 14:46:32 +0200 Subject: ARM: ux500: add the cpuidle driver for WFI and ARM retention 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 Acked-by: Vincent Guittot Signed-off-by: Linus Walleij --- arch/arm/mach-ux500/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arm/mach-ux500/Makefile') diff --git a/arch/arm/mach-ux500/Makefile b/arch/arm/mach-ux500/Makefile index 465b9ec9510a..93a191afba7a 100644 --- a/arch/arm/mach-ux500/Makefile +++ b/arch/arm/mach-ux500/Makefile @@ -4,6 +4,7 @@ obj-y := clock.o cpu.o devices.o devices-common.o \ id.o usb.o timer.o +obj-$(CONFIG_CPU_IDLE) += cpuidle.o obj-$(CONFIG_CACHE_L2X0) += cache-l2x0.o obj-$(CONFIG_UX500_SOC_DB5500) += cpu-db5500.o dma-db5500.o obj-$(CONFIG_UX500_SOC_DB8500) += cpu-db8500.o devices-db8500.o -- cgit v1.2.3