From: Anson Huang Date: Mon, 23 Jun 2014 08:42:44 +0000 (+0800) Subject: ARM: imx: add standby mode support for suspend X-Git-Tag: omap-for-v3.17/fixes-against-rc2~122^2~22^2~29 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80c0ecdce802bd642dc7127cc77cea04e0a71bf5;p=pandora-kernel.git 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 Signed-off-by: Shawn Guo --- 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); Reading git-diff-tree failed