summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/common.h
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2014-06-23 16:42:44 +0800
committerShawn Guo <shawn.guo@freescale.com>2014-07-18 16:11:30 +0800
commit80c0ecdce802bd642dc7127cc77cea04e0a71bf5 (patch)
treed132b17db6e55bbf0539aa78ce137bbc44890273 /arch/arm/mach-imx/common.h
parentdfea953ae221111c14d2fcfebad7b1973a0f49bd (diff)
downloadtalos-obmc-linux-80c0ecdce802bd642dc7127cc77cea04e0a71bf5.tar.gz
talos-obmc-linux-80c0ecdce802bd642dc7127cc77cea04e0a71bf5.zip
ARM: imx: add standby mode support for suspend
Add standby mode support for suspend, to enter standby mode: echo standby > /sys/power/state; Use UART or RTC alarm to wake up system, when system enters standby mode, SOC will enter STOP mode with ARM core kept power on and 24M XTAL on. Signed-off-by: Anson Huang <b20788@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/mach-imx/common.h')
-rw-r--r--arch/arm/mach-imx/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/common.h b/arch/arm/mach-imx/common.h
index 13a6e1f8e11e..d205f362cf29 100644
--- a/arch/arm/mach-imx/common.h
+++ b/arch/arm/mach-imx/common.h
@@ -106,7 +106,7 @@ static inline void imx_scu_standby_enable(void) {}
#endif
void imx_src_init(void);
void imx_gpc_init(void);
-void imx_gpc_pre_suspend(void);
+void imx_gpc_pre_suspend(bool arm_power_off);
void imx_gpc_post_resume(void);
void imx_gpc_mask_all(void);
void imx_gpc_restore_all(void);
OpenPOWER on IntegriCloud