diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2013-10-17 10:07:09 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-10-21 09:39:27 +0800 |
commit | 9ba64fe3eb461b95bf11436a13db0d9c79465514 (patch) | |
tree | 4ab4a7ee8c41bc2116b31799fb35f04c09411a53 /arch/arm/mach-imx/mach-imx6sl.c | |
parent | d48866fefdac239a4e02777e712aad60db9ee8a8 (diff) | |
download | blackbird-op-linux-9ba64fe3eb461b95bf11436a13db0d9c79465514.tar.gz blackbird-op-linux-9ba64fe3eb461b95bf11436a13db0d9c79465514.zip |
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.c | 3 |
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 f01aaabd3254..2f952e3fcf89 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) |