forked from luck/tmp_suning_uos_patched
d82ad6d683
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> |
||
---|---|---|
.. | ||
include/mach | ||
at91cap9_devices.c | ||
at91cap9.c | ||
at91rm9200_devices.c | ||
at91rm9200_time.c | ||
at91rm9200.c | ||
at91sam9rl_devices.c | ||
at91sam9rl.c | ||
at91sam926x_time.c | ||
at91sam9260_devices.c | ||
at91sam9260.c | ||
at91sam9261_devices.c | ||
at91sam9261.c | ||
at91sam9263_devices.c | ||
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 | ||
irq.c | ||
Kconfig | ||
leds.c | ||
Makefile | ||
Makefile.boot | ||
pm_slowclock.S | ||
pm.c | ||
sam9_smc.c | ||
sam9_smc.h |