diff options
author | Anson Huang <b20788@freescale.com> | 2014-06-20 01:20:54 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-07-18 04:10:14 -0400 |
commit | ff843d621bfc9a9b36c370bb523d3551f2e195dd (patch) | |
tree | 6c8cc381228441f662d1a3e8974a6c890d956ba6 /arch/arm/mach-imx/mach-imx6sx.c | |
parent | fc314334e734edc6727fe9e7d1fd58c31384af4f (diff) |
ARM: imx: add suspend support for i.mx6sx
Add suspend support for i.MX6SX.
To enter suspend, echo mem > /sys/power/state.
To exit suspend, using RTC alarm or enable debug UART wakeup.
Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/mach-imx/mach-imx6sx.c')
-rw-r--r-- | arch/arm/mach-imx/mach-imx6sx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mach-imx6sx.c b/arch/arm/mach-imx/mach-imx6sx.c index 02fccf6033ac..b7a0bdeed31c 100644 --- a/arch/arm/mach-imx/mach-imx6sx.c +++ b/arch/arm/mach-imx/mach-imx6sx.c | |||
@@ -26,6 +26,7 @@ static void __init imx6sx_init_machine(void) | |||
26 | of_platform_populate(NULL, of_default_bus_match_table, NULL, parent); | 26 | of_platform_populate(NULL, of_default_bus_match_table, NULL, parent); |
27 | 27 | ||
28 | imx_anatop_init(); | 28 | imx_anatop_init(); |
29 | imx6sx_pm_init(); | ||
29 | } | 30 | } |
30 | 31 | ||
31 | static void __init imx6sx_init_irq(void) | 32 | static void __init imx6sx_init_irq(void) |