summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mach-imx6sl.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2013-10-17 02:07:09 (GMT)
committerShawn Guo <shawn.guo@linaro.org>2013-10-21 01:39:27 (GMT)
commit9ba64fe3eb461b95bf11436a13db0d9c79465514 (patch)
tree4ab4a7ee8c41bc2116b31799fb35f04c09411a53 /arch/arm/mach-imx/mach-imx6sl.c
parentd48866fefdac239a4e02777e712aad60db9ee8a8 (diff)
downloadlinux-9ba64fe3eb461b95bf11436a13db0d9c79465514.tar.xz
ARM: imx: enable suspend for imx6sl
The imx6sl low power mode implementation inherits imx6q/dl one, and pm-imx6q.c can just work for imx6sl with some minor updates. Let's enable imx6sl suspend support by reusing pm-imx6q.c and use cpu_is_imxXX() to handle the those minor differences between imx6sl and imx6q/dl. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/mach-imx6sl.c')
-rw-r--r--arch/arm/mach-imx/mach-imx6sl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mach-imx6sl.c b/arch/arm/mach-imx/mach-imx6sl.c
index f01aaab..2f952e3 100644
--- a/arch/arm/mach-imx/mach-imx6sl.c
+++ b/arch/arm/mach-imx/mach-imx6sl.c
@@ -47,6 +47,9 @@ static void __init imx6sl_init_machine(void)
of_platform_populate(NULL, of_default_bus_match_table, NULL, parent);
imx6sl_fec_init();
+ imx_anatop_init();
+ /* Reuse imx6q pm code */
+ imx6q_pm_init();
}
static void __init imx6sl_init_irq(void)