android_kernel_xiaomi_sm8350/arch/avr32
Haavard Skinnemoen 02a00cf672 avr32: Power Management support ("standby" and "mem" modes)
Implement Standby support. In this mode, we'll suspend all drivers,
put the SDRAM in self-refresh mode and switch off the HSB bus
("frozen" mode.)

Implement Suspend-to-mem support. In this mode, we suspend all
drivers, put the SDRAM into self-refresh mode and switch off all
internal clocks except the 32 kHz oscillator ("stop" mode.)

The lowest-level suspend code runs from a small portion of SRAM
allocated at startup time. This gets rid of a small potential race
with the SDRAM where we might try to enter self-refresh mode in the
middle of an icache burst. We also relocate all interrupt and
exception handlers to SRAM during the small window when we enter and
exit the low-power modes.

We don't need to do any special tricks to start and stop the PLL. The
main clock is automatically gated by hardware until the PLL is stable.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2008-07-02 11:05:01 +02:00
..
boards avr32: improve NGW100 I2C/PMBus setup 2008-06-27 15:32:29 +02:00
boot
configs avr32: Update defconfigs 2008-05-26 13:38:29 +02:00
kernel avr32: Cover the kernel page tables in the user PGDs 2008-07-02 11:01:29 +02:00
lib avr32: Fix wrong I/O access size in __raw_readsb 2008-06-27 15:07:50 +02:00
mach-at32ap avr32: Power Management support ("standby" and "mem" modes) 2008-07-02 11:05:01 +02:00
mm avr32: Store virtual addresses in the PGD 2008-07-02 11:01:28 +02:00
oprofile avr32: Delete mostly unused header asm/intc.h 2008-04-19 20:40:07 -04:00
Kconfig avr32: Power Management support ("standby" and "mem" modes) 2008-07-02 11:05:01 +02:00
Kconfig.debug [AVR32] Include instrumentation menu 2008-01-25 08:31:40 +01:00
Makefile [AVR32] Add support for AT32AP7001 and AT32AP7002 2008-01-25 08:31:41 +01:00