From: Anson Huang Date: Tue, 6 Nov 2012 22:47:26 +0000 (-0500) Subject: ENGR00232586 mx6: increase PUPSCR to make sure LDO is ready for resume X-Git-Tag: v3.0.35-fsl~277 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=47762df33e1a7a7ffd3db94e81c91f2c9f34d5a1;p=karo-tx-linux.git ENGR00232586 mx6: increase PUPSCR to make sure LDO is ready for resume 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 --- diff --git a/arch/arm/mach-mx6/system.c b/arch/arm/mach-mx6/system.c index 6ecd51e9f9ea..6d24f22d156c 100644 --- a/arch/arm/mach-mx6/system.c +++ b/arch/arm/mach-mx6/system.c @@ -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. */