summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mach-imx25.c
diff options
context:
space:
mode:
authorFabio Estevam2016-02-02 22:45:38 +0100
committerShawn Guo2016-02-14 04:24:18 +0100
commit8c4300c227ffffc4db26b6bb3e0271de7ddbd289 (patch)
tree8a1a081e908cfa580287125d7d9c06e7a61ab624 /arch/arm/mach-imx/mach-imx25.c
parentARM: imx: Add msl code support for imx6qp (diff)
downloadkernel-qcow2-linux-8c4300c227ffffc4db26b6bb3e0271de7ddbd289.tar.gz
kernel-qcow2-linux-8c4300c227ffffc4db26b6bb3e0271de7ddbd289.tar.xz
kernel-qcow2-linux-8c4300c227ffffc4db26b6bb3e0271de7ddbd289.zip
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.c1
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 9379fd0a7b4d..32dcb5e99e23 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