ARM: mx25: Add basic suspend/resume support
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 2 Feb 2016 21:45:38 +0000 (19:45 -0200)
committerShawn Guo <shawnguo@kernel.org>
Sun, 14 Feb 2016 03:24:18 +0000 (11:24 +0800)
commit8c4300c227ffffc4db26b6bb3e0271de7ddbd289
tree8a1a081e908cfa580287125d7d9c06e7a61ab624
parentc5a890a445d06b0dfe5fc954b7391c1ec0afb76d
ARM: mx25: Add basic suspend/resume support

Tested basic suspend/resume on a mx25pdk:

$ echo enabled > /sys/class/tty/ttymxc0/power/wakeup
$ echo mem > /sys/power/state

Then press any key in the serial console and the system wakes up.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/common.h
arch/arm/mach-imx/mach-imx25.c
arch/arm/mach-imx/pm-imx25.c [new file with mode: 0644]