ARM: imx: add standby mode support for suspend
authorAnson Huang <b20788@freescale.com>
Mon, 23 Jun 2014 08:42:44 +0000 (16:42 +0800)
committerShawn Guo <shawn.guo@freescale.com>
Fri, 18 Jul 2014 08:11:30 +0000 (16:11 +0800)
commit80c0ecdce802bd642dc7127cc77cea04e0a71bf5
treed132b17db6e55bbf0539aa78ce137bbc44890273
parentdfea953ae221111c14d2fcfebad7b1973a0f49bd
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>
arch/arm/mach-imx/common.h
arch/arm/mach-imx/gpc.c
arch/arm/mach-imx/pm-imx6.c