]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 25 Jun 2014 14:36:27 +0000 (22:36 +0800)
commitddce2983a431a4fdfee942e1b85b3f4e9b387bd4
tree15fc328c8809e77d87fe864a42771b521ebbf587
parentb183a2ebc4458de5a8b84eee6ee8fca90221d64f
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