ARM: imx: support arm power off in cpuidle for i.mx6sx
commit05136f0897b526b9cd090c93b95bbd1b67c18cc5
authorAnson Huang <b20788@freescale.com>
Wed, 17 Dec 2014 04:24:12 +0000 (17 12:24 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 5 Jan 2015 13:34:29 +0000 (5 21:34 +0800)
treea550264eb74fa756155662b4fdd67ed7d147618f
parentdf096fde0889a7a624fcc9616ff5ebd7446d131e
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>
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/common.h
arch/arm/mach-imx/cpuidle-imx6sx.c [new file with mode: 0644]
arch/arm/mach-imx/cpuidle.h
arch/arm/mach-imx/gpc.c
arch/arm/mach-imx/mach-imx6sx.c
arch/arm/mach-imx/pm-imx6.c