[ARM] 5264/2: [AT91] Suspend-to-RAM disables main oscillator
commiteaad2db03cbbf734aa95f99eb93fb6309637dbca
authorAndrew Victor <linux@maxim.org.za>
Sun, 21 Sep 2008 20:35:18 +0000 (21 21:35 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 21 Sep 2008 22:01:01 +0000 (21 23:01 +0100)
tree81812e0f56311489aaee20bba0359713ab9b0acd
parent77789ad8b1d58eb9ba5e14860f439d024c5e4120
[ARM] 5264/2: [AT91] Suspend-to-RAM disables main oscillator

This patch adds support for a low(er)-power suspend-to-RAM.
In addition to the SDRAM being put into self-refresh mode, the Master
Clock is set to the Slow-clock rate (32Khz) and PLLA & PLLB are
disabled.
Certain peripherals are therefore also disabled, and thus cannot be
used as wakeup sources.

This patch has been included in the AT91 patches in various forms
since 2.6.19 and a number of people have worked or commented on it,
most notably:
 Savin Zlobec (for the original AT91RM9200 support)
 Anti Sullin (for the SAM9260 version)
 David Brownell, etc.

Signed-off-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-at91/Kconfig
arch/arm/mach-at91/Makefile
arch/arm/mach-at91/pm_slowclock.S [new file with mode: 0644]