MLK-12443 ARM: imx: disable low power mode before entering LPSR mode
authorAnson Huang <Anson.Huang@nxp.com>
Wed, 24 Feb 2016 03:57:02 +0000 (11:57 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:51:40 +0000 (14:51 -0500)
commit72dfc71df88a39e3c4f115823d2627a4662b5653
tree76d74e9422465de3a3d25515e600b9f66139e1ef
parent626fef8a56b72b7f5093132021c9744ee3f9b3cf
MLK-12443 ARM: imx: disable low power mode before entering LPSR mode

Before entering LPSR mode, as GPC was set to STOP/DSM mode already,
the wfi loop after LPSR mode would cause system enter STOP/DSM mode
first, then SNVS will force PMIC_ON_REQ to low, as SNVS needs IPG
clock to be on before entering SNVS/LPSR mode, so we have to disable
STOP/DSM mode to make sure IPG clock is on before SNVS actually enters
LPSR mode.

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