MLK-12262-4 ARM: imx: fix low power idle issue on i.MX7D TO1.1
authorAnson Huang <Anson.Huang@nxp.com>
Tue, 26 Jan 2016 07:41:01 +0000 (15:41 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:58 +0000 (14:49 -0500)
commite772609acdbb96fec0bd3fa0816c286af2cf2855
treef46f75fd08d42f57bf8933378ef53d70613426b0
parent3ac422c9bd6d96745d00a2b67351dc394497e000
MLK-12262-4 ARM: imx: fix low power idle issue on i.MX7D TO1.1

For low power idle with ARM power gated, per hardware requirement,
there must be no interrupt coming during the power down
process of ARM core, so RBC counter is enabled to hold interrupts
and GIC must be disabled at the moment;

The hardware design team recommends ~240us is required during ARM
core power down, so we update the RBC counter value to 8(~240us);

Update GPC SCU and CPU power up/down timing according to design
team's recommendation.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
arch/arm/mach-imx/common.h
arch/arm/mach-imx/cpuidle-imx7d.c
arch/arm/mach-imx/gpcv2.c
arch/arm/mach-imx/imx7d_low_power_idle.S
arch/arm/mach-imx/mx7.h
arch/arm/mach-imx/pm-imx7.c