commit | c7e48e1e3e926de21605f959c31689d56fb639e3 | [log] [tgz] |
---|---|---|
author | Sonic Zhang <sonic.zhang@analog.com> | Mon Jul 23 11:35:30 2012 +0800 |
committer | Bob Liu <lliubbo@gmail.com> | Tue Jul 24 13:39:49 2012 +0800 |
tree | 4a598fd55ed79fdcf63077318e04d6f39be594d0 | |
parent | a5b4d4be6ce7939d1604fae05786833fffae02f9 [diff] |
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>