]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: imx: enable WAIT mode hardware workaround for imx6sx
authorAnson Huang <Anson.Huang@nxp.com>
Mon, 29 Aug 2016 13:49:57 +0000 (21:49 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 29 Aug 2016 14:39:27 +0000 (22:39 +0800)
commit6ae44aa651d0d82097cb5379be94e86beade9c7b
treeff68da5891bbc5779908004ef2a01b4180791adc
parent8765caa5cb6054247832947119ea533b5d410d2b
ARM: imx: enable WAIT mode hardware workaround for imx6sx

Need to enable INT_MEM_CLK_LPM bit in CCM_CGPR for WAIT mode,
without this bit set, if there is pending interrupt during
ARM platform entering WAIT mode without power gating, cache
data will be corrupted, this is a hardware workaround for WAIT
mode and must be enabled.

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