MLK-12088 ARM: imx: low power idle support for imx7d single core
authorAnson Huang <Anson.Huang@nxp.com>
Mon, 28 Dec 2015 14:38:26 +0000 (22:38 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:37 +0000 (14:49 -0500)
commitbe8d860e840a741075a5bb9f50aacaa51ec307b1
tree556197e8954da245e1e620353f55b11664473ade
parent67807e1acee22ed857bb1cf0867b1bab9bddfc2f
MLK-12088 ARM: imx: low power idle support for imx7d single core

When only single core online for i.MX7D, the secondary core wfi
flag should be set to make sure low power idle can be entered when
last core enters wfi. Otherwise, DDR/CCM/ANATOP will NOT enter
low power mode as the secondary core wfi flag is always clear;

Make sure the last power up slot do the ack for single core case.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
arch/arm/mach-imx/cpuidle-imx7d.c
arch/arm/mach-imx/gpcv2.c