From: Sonic Zhang Date: Mon, 23 Jul 2012 03:35:30 +0000 (+0800) Subject: bfin: pm: add deepsleep for bf60x X-Git-Tag: v3.6-rc1~127^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7e48e1e3e926de21605f959c31689d56fb639e3;p=pandora-kernel.git 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 Signed-off-by: Bob Liu --- Reading git-diff-tree failed