On Tue, May 01, 2012 at 09:12:37PM -0500, Robert Lee wrote:
Add common imx cpuidle initialization functionality and add a i.MX5 and i.MX6Q platform cpuidle implementation.
Based on v3.4-rc5 plus recently submitted device tree late_initcall patch:
Just to clarify, this is not a device tree late_initcall but a machine specific late_initcall time hook. It has nothing to do with device tree.
Regards, Shawn
http://www.spinics.net/lists/arm-kernel/msg171620.html
Changes since v1:
- Removed some unnecessary spaces
- Added return value for an error message
- Reworked init scheme to use device tree late_initcall.
- Moved imx6q and imx5 cpuidle functionality to existing files.
Robert Lee (3): ARM: imx: Add common imx cpuidle init functionality. ARM: imx: Add imx5 cpuidle driver ARM: imx: Add imx6q cpuidle driver
arch/arm/mach-imx/cpuidle-imx6q.c | 33 ++++++++++++ arch/arm/mach-imx/mach-imx6q.c | 18 +++++++ arch/arm/mach-imx/mm-imx5.c | 42 ++++++++++++++-- arch/arm/plat-mxc/Makefile | 1 + arch/arm/plat-mxc/cpuidle.c | 80 ++++++++++++++++++++++++++++++ arch/arm/plat-mxc/include/mach/cpuidle.h | 22 ++++++++ 6 files changed, 193 insertions(+), 3 deletions(-) create mode 100644 arch/arm/mach-imx/cpuidle-imx6q.c create mode 100644 arch/arm/plat-mxc/cpuidle.c create mode 100644 arch/arm/plat-mxc/include/mach/cpuidle.h
-- 1.7.10