diff options
author | Anson Huang <b20788@freescale.com> | 2015-08-12 14:18:37 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-23 16:57:07 +0300 |
commit | bbc6fecd0c91687df475269359a3910a876dc5ee (patch) | |
tree | 03e541f5d2fac777cf21714f8efc4433931c67c3 /arch/arm/mach-imx/mach-imx7d.c | |
parent | 8353ed5e7a43f56047d9f0fae0e2dd3002bae56a (diff) |
MLK-11357-2 ARM: imx: add cpuidle support for imx7d
Enable cpuidle for i.MX7D, total 3 level idle supported:
1. ARM WFI;
2. WAIT mode;
3. Low power idle with ARM/SCU platform power off.
Only when system in low bus freq mode, system is able to
enter low power idle, and only when both of 2 cores are
in low power idle, ARM/SCU platform will be powered off.
DDR will be put into low power mode when low power idle
is entered.
Signed-off-by: Anson Huang <b20788@freescale.com>
Diffstat (limited to 'arch/arm/mach-imx/mach-imx7d.c')
-rw-r--r-- | arch/arm/mach-imx/mach-imx7d.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mach-imx7d.c b/arch/arm/mach-imx/mach-imx7d.c index e3a33f15ad3e..3b9796aabcbd 100644 --- a/arch/arm/mach-imx/mach-imx7d.c +++ b/arch/arm/mach-imx/mach-imx7d.c @@ -17,6 +17,7 @@ #include <asm/mach/map.h> #include "common.h" +#include "cpuidle.h" static int ar8031_phy_fixup(struct phy_device *dev) { @@ -111,6 +112,7 @@ static void __init imx7d_init_late(void) if (IS_ENABLED(CONFIG_ARM_IMX7D_CPUFREQ)) { platform_device_register_simple("imx7d-cpufreq", -1, NULL, 0); } + imx7d_cpuidle_init(); } static void __init imx7d_map_io(void) |