alistair23-linux/arch/arm/mach-at91
Andrei Birjukov d82ad6d683 [ARM] at91: fix for Atmel AT91 powersaving
We've discovered that our AT91SAM9260 board consumed too much power when
returning from a slowclock low-power mode.  RAM self-refresh is enabled in
a bootloader in our case, this is how we saw a difference.  Estimated ca.
30mA more on 4V battery than the same state before powersaving.

After a small research we found that there seems to be a bogus
sdram_selfrefresh_disable() call at the end of at91_pm_enter() call, which
overwrites the LPR register with uninitialized value.  Please find the
suggested patch attached.

This patch fixes correct restoring of LPR register of the Atmel AT91 SDRAM
controller when returning from a power saving mode.

Signed-off-by: Andrei Birjukov <andrei.birjukov@artecdesign.ee>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2009-02-22 22:37:21 +00:00
..
include/mach [ARM] 5400/1: Add support for inverted rdy_busy pin for Atmel nand device controller 2009-02-16 21:40:39 +00:00
at91cap9.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
at91cap9_devices.c [ARM] 5390/1: AT91: Watchdog fixes 2009-02-14 16:01:57 +00:00
at91rm9200.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
at91rm9200_devices.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91rm9200_time.c Merge branch 'cpus4096-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-01-02 11:44:09 -08:00
at91sam9rl.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
at91sam9rl_devices.c [ARM] 5390/1: AT91: Watchdog fixes 2009-02-14 16:01:57 +00:00
at91sam926x_time.c cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
at91sam9260.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
at91sam9260_devices.c [ARM] 5390/1: AT91: Watchdog fixes 2009-02-14 16:01:57 +00:00
at91sam9261.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
at91sam9261_devices.c [ARM] 5390/1: AT91: Watchdog fixes 2009-02-14 16:01:57 +00:00
at91sam9263.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
at91sam9263_devices.c [ARM] 5390/1: AT91: Watchdog fixes 2009-02-14 16:01:57 +00:00
at91x40.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91x40_time.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
board-1arm.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-afeb-9260v1.c [ARM] 5326/1: AFEB9260: Fix for i2c_board_info structure 2008-10-30 15:43:42 +00:00
board-cam60.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-cap9adk.c [ARM] 5319/1: AT91: support AT91CAP9 revC CPUs 2008-12-01 17:22:07 +00:00
board-carmeva.c [ARM] 5261/1: [AT91] Support for LEDs on Conitec ARM&EVA board 2008-09-29 15:46:03 +01:00
board-csb337.c [ARM] 5263/2: [AT91] GPIO buttons as wakeup sources 2008-09-21 23:01:00 +01:00
board-csb637.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-dk.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-eb01.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-eb9200.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-ecbat91.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-ek.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-kafa.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-kb9202.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-neocore926.c [ARM] 5290/1: [AT91] Add support for the Adeneo NeoCore 926 board 2008-12-01 17:18:15 +00:00
board-picotux200.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-qil-a9260.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-sam9-l9260.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-sam9g20ek.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-sam9rlek.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
board-sam9260ek.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-sam9261ek.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-sam9263ek.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-usb-a9260.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-usb-a9263.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-yl-9200.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
clock.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
clock.h [ARM] 4124/1: Rename mach-at91rm9200 and arch-at91rm9200 directories 2007-02-08 14:50:56 +00:00
generic.h [ARM] 4739/1: at91sam9263: make gpio bank C and D irqs work 2008-02-04 13:16:39 +00:00
gpio.c [ARM] 5391/1: AT91: Enable GPIO clocks earlier 2009-02-14 16:03:36 +00:00
irq.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
Kconfig [ARM] 5290/1: [AT91] Add support for the Adeneo NeoCore 926 board 2008-12-01 17:18:15 +00:00
leds.c [ARM] 5267/1: [AT91] Name conflict in mach-at91/leds.c 2008-09-29 15:46:26 +01:00
Makefile [ARM] 5290/1: [AT91] Add support for the Adeneo NeoCore 926 board 2008-12-01 17:18:15 +00:00
Makefile.boot [ARM] 4764/1: [AT91] AT91CAP9 core support 2008-01-26 15:01:13 +00:00
pm.c [ARM] at91: fix for Atmel AT91 powersaving 2009-02-22 22:37:21 +00:00
pm_slowclock.S [ARM] 5264/2: [AT91] Suspend-to-RAM disables main oscillator 2008-09-21 23:01:01 +01:00
sam9_smc.c [ARM] 5287/2: [AT91] Configuration of Static Memory Controller 2008-12-01 17:18:08 +00:00
sam9_smc.h [ARM] 5287/2: [AT91] Configuration of Static Memory Controller 2008-12-01 17:18:08 +00:00