diff options
author | Anson Huang <b20788@freescale.com> | 2014-06-23 08:42:44 (GMT) |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-07-18 08:11:30 (GMT) |
commit | 80c0ecdce802bd642dc7127cc77cea04e0a71bf5 (patch) | |
tree | d132b17db6e55bbf0539aa78ce137bbc44890273 /arch/arm/mach-imx/common.h | |
parent | dfea953ae221111c14d2fcfebad7b1973a0f49bd (diff) | |
download | linux-80c0ecdce802bd642dc7127cc77cea04e0a71bf5.tar.xz |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/common.h b/arch/arm/mach-imx/common.h index 13a6e1f..d205f36 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); |