]> git.baikalelectronics.ru Git - 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)
commit9af11294eab0fe426ff29ed540399d437091bfb6
tree4a598fd55ed79fdcf63077318e04d6f39be594d0
parente0d6b65d7b24594e506f956b861a2660079598e8
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