diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2011-09-06 03:08:40 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-10-31 09:26:27 -0400 |
commit | a1f1c7efb0c1c78b5e84455bb5a6c8b2bee3059c (patch) | |
tree | 732ecae274d63faa98d4e3fa9091592bfb7ed9a4 /arch/arm/plat-mxc/include/mach | |
parent | 13eed9897a2160272df2804ac3bbd4d91c76e577 (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.h | 9 |
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 | ||
14 | struct platform_device; | 14 | struct platform_device; |
15 | struct clk; | 15 | struct clk; |
16 | enum mxc_cpu_pwr_mode; | ||
16 | 17 | ||
17 | extern void mx1_map_io(void); | 18 | extern void mx1_map_io(void); |
18 | extern void mx21_map_io(void); | 19 | extern void mx21_map_io(void); |
@@ -107,14 +108,22 @@ extern void imx_lluart_map_io(void); | |||
107 | #else | 108 | #else |
108 | static inline void imx_lluart_map_io(void) {} | 109 | static inline void imx_lluart_map_io(void) {} |
109 | #endif | 110 | #endif |
111 | extern void v7_cpu_resume(void); | ||
112 | extern u32 *pl310_get_save_ptr(void); | ||
110 | #ifdef CONFIG_SMP | 113 | #ifdef CONFIG_SMP |
111 | extern void v7_secondary_startup(void); | 114 | extern void v7_secondary_startup(void); |
112 | extern void imx_scu_map_io(void); | 115 | extern void imx_scu_map_io(void); |
116 | extern void imx_smp_prepare(void); | ||
113 | #else | 117 | #else |
114 | static inline void imx_scu_map_io(void) {} | 118 | static inline void imx_scu_map_io(void) {} |
119 | static inline void imx_smp_prepare(void) {} | ||
115 | #endif | 120 | #endif |
116 | extern void imx_enable_cpu(int cpu, bool enable); | 121 | extern void imx_enable_cpu(int cpu, bool enable); |
117 | extern void imx_set_cpu_jump(int cpu, void *jump_addr); | 122 | extern void imx_set_cpu_jump(int cpu, void *jump_addr); |
118 | extern void imx_src_init(void); | 123 | extern void imx_src_init(void); |
119 | extern void imx_gpc_init(void); | 124 | extern void imx_gpc_init(void); |
125 | extern void imx_gpc_pre_suspend(void); | ||
126 | extern void imx_gpc_post_resume(void); | ||
127 | extern int imx6q_set_lpm(enum mxc_cpu_pwr_mode mode); | ||
128 | extern void imx6q_pm_init(void); | ||
120 | #endif | 129 | #endif |