summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf609/include/mach
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2012-07-23 05:35:30 +0200
committerBob Liu <lliubbo@gmail.com>2012-07-24 07:39:49 +0200
commitc7e48e1e3e926de21605f959c31689d56fb639e3 (patch)
tree4a598fd55ed79fdcf63077318e04d6f39be594d0 /arch/blackfin/mach-bf609/include/mach
parentirq: set cgu event handle to fasteoi handle (diff)
downloadlinux-c7e48e1e3e926de21605f959c31689d56fb639e3.tar.xz
linux-c7e48e1e3e926de21605f959c31689d56fb639e3.zip
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>
Diffstat (limited to 'arch/blackfin/mach-bf609/include/mach')
-rw-r--r--arch/blackfin/mach-bf609/include/mach/pm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/blackfin/mach-bf609/include/mach/pm.h b/arch/blackfin/mach-bf609/include/mach/pm.h
index 036d9bdc889e..68435f9bafca 100644
--- a/arch/blackfin/mach-bf609/include/mach/pm.h
+++ b/arch/blackfin/mach-bf609/include/mach/pm.h
@@ -11,9 +11,9 @@
#include <linux/suspend.h>
-int bfin609_pm_enter(suspend_state_t state);
-int bf609_pm_prepare(void);
-void bf609_pm_finish(void);
+extern int bfin609_pm_enter(suspend_state_t state);
+extern int bf609_pm_prepare(void);
+extern void bf609_pm_finish(void);
void bf609_hibernate(void);
void bfin_sec_raise_irq(unsigned int sid);