]> 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)
commit2d912fba13c85554556fc36f37e56994e9595854
tree4a598fd55ed79fdcf63077318e04d6f39be594d0
parent35a313267e44530e671105954990b1a4d5334b46
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