MLK-11511 ARM: imx: force ARM into wfi during LPSR enter
authorAnson Huang <b20788@freescale.com>
Mon, 7 Sep 2015 14:23:01 +0000 (22:23 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:05 +0000 (14:49 -0500)
commita6e808fcbb998cb4a61cbd5e38723150c57dd11a
treefe0c464547c689be665eb51ab0c284b95f6e4681
parent2d0bd13ec191791fd467f942bc8f558cd67c7fac
MLK-11511 ARM: imx: force ARM into wfi during LPSR enter

During stress test of LPSR using RTC alarm, sometimes
RTC alarm fail to fire, the control register(offset 0x38)
is changed and RTC alarm is disabled, according to
design team, when enter LPSR with programming SNVS
to shutdown PMIC, SNVS need some time to finish power
down process, better to put ARM into wfi during this
window.

Signed-off-by: Anson Huang <b20788@freescale.com>
arch/arm/mach-imx/suspend-imx7.S