MLK-11357-2 ARM: imx: add cpuidle support for imx7d
authorAnson Huang <b20788@freescale.com>
Wed, 12 Aug 2015 06:18:37 +0000 (14:18 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:26 +0000 (14:47 -0500)
commit631c4fb9e0255d9851c1e964e84a448a9e29c297
tree08f9c82656c433f53bffc237aa86f39255d62ea1
parentd395855a4ef6f8cdef39e31879678c9de99607c8
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>
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/common.h
arch/arm/mach-imx/cpuidle-imx7d.c [new file with mode: 0644]
arch/arm/mach-imx/cpuidle.h
arch/arm/mach-imx/imx7d_low_power_idle.S [new file with mode: 0644]
arch/arm/mach-imx/mach-imx7d.c
arch/arm/mach-imx/src.c