diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-02-02 19:45:38 -0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2016-02-14 11:24:18 +0800 |
commit | 8c4300c227ffffc4db26b6bb3e0271de7ddbd289 (patch) | |
tree | 8a1a081e908cfa580287125d7d9c06e7a61ab624 /arch/arm/mach-imx/mach-imx25.c | |
parent | c5a890a445d06b0dfe5fc954b7391c1ec0afb76d (diff) | |
download | op-kernel-dev-8c4300c227ffffc4db26b6bb3e0271de7ddbd289.zip op-kernel-dev-8c4300c227ffffc4db26b6bb3e0271de7ddbd289.tar.gz |
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>
Diffstat (limited to 'arch/arm/mach-imx/mach-imx25.c')
-rw-r--r-- | arch/arm/mach-imx/mach-imx25.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mach-imx25.c b/arch/arm/mach-imx/mach-imx25.c index 9379fd0..32dcb5e 100644 --- a/arch/arm/mach-imx/mach-imx25.c +++ b/arch/arm/mach-imx/mach-imx25.c @@ -41,6 +41,7 @@ static const char * const imx25_dt_board_compat[] __initconst = { DT_MACHINE_START(IMX25_DT, "Freescale i.MX25 (Device Tree Support)") .init_early = imx25_init_early, + .init_late = imx25_pm_init, .init_irq = mx25_init_irq, .dt_compat = imx25_dt_board_compat, MACHINE_END |