]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bfin: pm: add deepsleep for bf60x
authorSonic Zhang <sonic.zhang@analog.com>
Mon, 23 Jul 2012 03:35:30 +0000 (11:35 +0800)
committerBob Liu <lliubbo@gmail.com>
Tue, 24 Jul 2012 05:39:49 +0000 (13:39 +0800)
commitc7e48e1e3e926de21605f959c31689d56fb639e3
tree4a598fd55ed79fdcf63077318e04d6f39be594d0
parenta5b4d4be6ce7939d1604fae05786833fffae02f9
bfin: pm: add deepsleep for bf60x

Add add deepsleep for bf60x.
1. Call DMC init functions to enter and exit DDR self refresh mode.
2. Wait till CGU PLL is locked after wake up and exit DDR self refresh mode.
3. Make asessembly function enter_deepsleep comply with C funtion ABI in
order to call other C functions.
4. Switch kernel stack by register EX_SCRATCH_REG.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
arch/blackfin/include/asm/context.S
arch/blackfin/mach-bf609/Makefile
arch/blackfin/mach-bf609/dpm.S [new file with mode: 0644]
arch/blackfin/mach-bf609/hibernate.S [deleted file]
arch/blackfin/mach-bf609/include/mach/pm.h
arch/blackfin/mach-bf609/pm.c
arch/blackfin/mach-common/entry.S