]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00222257 MX6x-Prime TLB entries before DDR enters self-refresh.
authorRanjani Vaidyanathan <ra5478@freescale.com>
Sat, 1 Sep 2012 07:06:39 +0000 (02:06 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:21 +0000 (08:35 +0200)
commita2a18a3022ca8e1b5370aa828bd4870ddf8289b4
treeefa770c4f1e8b3d76ec11cc061968c64f6e4bc97
parent98c342a584a2c61d5dfca7042f4a8394386b9eef
ENGR00222257 MX6x-Prime TLB entries before DDR enters self-refresh.

Need to ensure that no page table walk occurs in DDR when it is in
self refresh and its IO pads are floated during suspend.
Hence we need to make sure that the translation of all the
addresses that the suspend code will access is in the TLB before
DDR cannot be accessed anymore.
So do a dummy read of IOMUX, MMDC, SRC and ANATOP regsiters.
Also need to add a dsb to drain all the write buffers before
DDR enters self-refresh.

Also ensure that the LDO bypass enable is reset if an interrupt
is pending before the system enters suspend.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
arch/arm/mach-mx6/mx6_suspend.S