]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00232586 mx6: increase PUPSCR to make sure LDO is ready for resume
authorAnson Huang <b20788@freescale.com>
Tue, 6 Nov 2012 22:47:26 +0000 (17:47 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:41 +0000 (08:35 +0200)
Previous setting of PUPSCR is 0x202, which means there is only ~63us
for LDO ramp up, sometimes, system fail to resume by USB remote wake up,
increase this timing to fix USB remote wake up issue.

Signed-off-by: Anson Huang <b20788@freescale.com>
arch/arm/mach-mx6/system.c

index 6ecd51e9f9eae1176999fcc960aec9c0165986ff..6d24f22d156cfd7ccd7d39d9eace82b3d9b5056f 100644 (file)
@@ -157,7 +157,7 @@ void mxc_cpu_lp_set(enum mxc_cpu_pwr_mode mode)
                   * The PUPSCR should include the time it takes for the ARM LDO to
                   * ramp up.
                   */
-               __raw_writel(0x202, gpc_base + GPC_PGC_CPU_PUPSCR_OFFSET);
+               __raw_writel(0xf0f, gpc_base + GPC_PGC_CPU_PUPSCR_OFFSET);
                /* The PDNSCR is a counter that counts in IPG_CLK cycles. This counter
                  * can be set to minimum values to power down faster.
                  */