]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - arch/arm/mach-imx/cpuidle-imx6sx.c
ARM: imx: add cpu idle support for i.MX6SLL
authorAnson Huang <Anson.Huang@nxp.com>
Sun, 3 Jun 2018 02:33:45 +0000 (10:33 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 19 Jun 2018 01:07:16 +0000 (09:07 +0800)
commite7fa1fb39b118cc8415a946fd2e6bc0f6b6c05c9
treed2c6cc582ef8b49d5a809252aeb3c8bb76397e70
parentc791bbbf812a18a7831619783f12a316beeac558
ARM: imx: add cpu idle support for i.MX6SLL

i.MX6SLL supports cpu idle with ARM power gated,
it can reuse i.MX6SX's cpu idle driver to support
below 3 states of cpu idle:

state0: WFI;
state1: WAIT mode with ARM power on;
state2: WAIT mode with ARM power off.

L2_PGE in GPC_CNTR needs to be cleared to support
state2 cpu idle.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/cpuidle-imx6sx.c
arch/arm/mach-imx/mach-imx6sl.c