kernel_optimize_test/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_devices.c [ARM] 5390/1: AT91: Watchdog fixes 2009-02-14 16:01:57 +00:00
at91cap9.c
at91rm9200_devices.c
at91rm9200_time.c
at91rm9200.c
at91sam9rl_devices.c [ARM] 5390/1: AT91: Watchdog fixes 2009-02-14 16:01:57 +00:00
at91sam9rl.c
at91sam926x_time.c
at91sam9260_devices.c [ARM] 5390/1: AT91: Watchdog fixes 2009-02-14 16:01:57 +00:00
at91sam9260.c
at91sam9261_devices.c [ARM] 5390/1: AT91: Watchdog fixes 2009-02-14 16:01:57 +00:00
at91sam9261.c
at91sam9263_devices.c [ARM] 5390/1: AT91: Watchdog fixes 2009-02-14 16:01:57 +00:00
at91sam9263.c
at91x40_time.c
at91x40.c
board-1arm.c
board-afeb-9260v1.c
board-cam60.c
board-cap9adk.c
board-carmeva.c
board-csb337.c
board-csb637.c
board-dk.c
board-eb01.c
board-eb9200.c
board-ecbat91.c
board-ek.c
board-kafa.c
board-kb9202.c
board-neocore926.c
board-picotux200.c
board-qil-a9260.c
board-sam9-l9260.c
board-sam9g20ek.c
board-sam9rlek.c
board-sam9260ek.c
board-sam9261ek.c
board-sam9263ek.c
board-usb-a9260.c
board-usb-a9263.c
board-yl-9200.c
clock.c
clock.h
generic.h
gpio.c [ARM] 5391/1: AT91: Enable GPIO clocks earlier 2009-02-14 16:03:36 +00:00
irq.c
Kconfig
leds.c
Makefile
Makefile.boot
pm_slowclock.S
pm.c [ARM] at91: fix for Atmel AT91 powersaving 2009-02-22 22:37:21 +00:00
sam9_smc.c
sam9_smc.h