diff options
author | Anson Huang <b20788@freescale.com> | 2014-12-17 07:24:12 +0300 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2015-01-05 16:34:29 +0300 |
commit | 05136f0897b526b9cd090c93b95bbd1b67c18cc5 (patch) | |
tree | a550264eb74fa756155662b4fdd67ed7d147618f /arch/arm/mach-imx/mach-imx6sx.c | |
parent | df096fde0889a7a624fcc9616ff5ebd7446d131e (diff) | |
download | linux-05136f0897b526b9cd090c93b95bbd1b67c18cc5.tar.xz |
ARM: imx: support arm power off in cpuidle for i.mx6sx
This patch introduces an independent cpuidle driver for
i.MX6SX, and supports arm power off in idle, totally
3 levels of cpuidle are supported as below:
1. ARM WFI;
2. SOC in WAIT mode;
3. SOC in WAIT mode + ARM power off.
ARM power off can save at least 5mW power.
This patch also replaces imx6q_enable_rbc with imx6_enable_rbc.
Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/mach-imx6sx.c')
-rw-r--r-- | arch/arm/mach-imx/mach-imx6sx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-imx6sx.c b/arch/arm/mach-imx/mach-imx6sx.c index 7a96c6577234..66988eb6a3a4 100644 --- a/arch/arm/mach-imx/mach-imx6sx.c +++ b/arch/arm/mach-imx/mach-imx6sx.c @@ -90,7 +90,7 @@ static void __init imx6sx_init_irq(void) static void __init imx6sx_init_late(void) { - imx6q_cpuidle_init(); + imx6sx_cpuidle_init(); if (IS_ENABLED(CONFIG_ARM_IMX6Q_CPUFREQ)) platform_device_register_simple("imx6q-cpufreq", -1, NULL, 0); |