]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0e4b14215fcd53445ff15ae2a22ec793d4acab94
tree8a1a081e908cfa580287125d7d9c06e7a61ab624
parent2b3f7ca9ba05a331955d69d272a894ae19816eaa
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]