aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/include/mach
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-09-06 03:08:40 -0400
committerArnd Bergmann <arnd@arndb.de>2011-10-31 09:26:27 -0400
commita1f1c7efb0c1c78b5e84455bb5a6c8b2bee3059c (patch)
tree732ecae274d63faa98d4e3fa9091592bfb7ed9a4 /arch/arm/plat-mxc/include/mach
parent13eed9897a2160272df2804ac3bbd4d91c76e577 (diff)
arm/imx6q: add suspend/resume support
It adds suspend/resume support for imx6q. Signed-off-by: Anson Huang <b20788@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach')
-rw-r--r--arch/arm/plat-mxc/include/mach/common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/common.h b/arch/arm/plat-mxc/include/mach/common.h
index 607b4623af0c..6a7d993a17a6 100644
--- a/arch/arm/plat-mxc/include/mach/common.h
+++ b/arch/arm/plat-mxc/include/mach/common.h
@@ -13,6 +13,7 @@
13 13
14struct platform_device; 14struct platform_device;
15struct clk; 15struct clk;
16enum mxc_cpu_pwr_mode;
16 17
17extern void mx1_map_io(void); 18extern void mx1_map_io(void);
18extern void mx21_map_io(void); 19extern void mx21_map_io(void);
@@ -107,14 +108,22 @@ extern void imx_lluart_map_io(void);
107#else 108#else
108static inline void imx_lluart_map_io(void) {} 109static inline void imx_lluart_map_io(void) {}
109#endif 110#endif
111extern void v7_cpu_resume(void);
112extern u32 *pl310_get_save_ptr(void);
110#ifdef CONFIG_SMP 113#ifdef CONFIG_SMP
111extern void v7_secondary_startup(void); 114extern void v7_secondary_startup(void);
112extern void imx_scu_map_io(void); 115extern void imx_scu_map_io(void);
116extern void imx_smp_prepare(void);
113#else 117#else
114static inline void imx_scu_map_io(void) {} 118static inline void imx_scu_map_io(void) {}
119static inline void imx_smp_prepare(void) {}
115#endif 120#endif
116extern void imx_enable_cpu(int cpu, bool enable); 121extern void imx_enable_cpu(int cpu, bool enable);
117extern void imx_set_cpu_jump(int cpu, void *jump_addr); 122extern void imx_set_cpu_jump(int cpu, void *jump_addr);
118extern void imx_src_init(void); 123extern void imx_src_init(void);
119extern void imx_gpc_init(void); 124extern void imx_gpc_init(void);
125extern void imx_gpc_pre_suspend(void);
126extern void imx_gpc_post_resume(void);
127extern int imx6q_set_lpm(enum mxc_cpu_pwr_mode mode);
128extern void imx6q_pm_init(void);
120#endif 129#endif