ARM: 5778/1: AT91: Add cpuidle support
authorAlbin Tonnerre <albin.tonnerre@free-electrons.com>
Sun, 1 Nov 2009 17:40:50 +0000 (18:40 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 10 Nov 2009 23:46:35 +0000 (23:46 +0000)
commit1ea60cf7062271f0d53d09268726aa1544bf4836
tree4e975655fa555fd2346ec50112fbbc8244cb03da
parentcd3abf98aeaec9b23a926159856b54a95707ee88
ARM: 5778/1: AT91: Add cpuidle support

This patch adds the support for cpuidle on AT91 SoCs, taken from the
cpuidle support in mach-kirkwood.
cpuidle needs sdram_selfrefresh_enable and _disable, so move their
definition to a separate header file instead of duplicating the code
already used in pm.c.

Tested-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Albin Tonnerre <albin.tonnerre@free-electrons.com>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-at91/Makefile
arch/arm/mach-at91/cpuidle.c [new file with mode: 0644]
arch/arm/mach-at91/pm.c
arch/arm/mach-at91/pm.h [new file with mode: 0644]