summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2012-11-06 17:47:26 -0500
committerJason Liu <r64343@freescale.com>2012-11-07 11:08:52 +0800
commit8f6f1a04386f12e258622afda0ce6eb674b97625 (patch)
tree35a931ad30bd8a6ff801c856c6e7ad216bb2e7b5
parent751d27f0da571ffc591be168fe58a992c733d412 (diff)
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 <b20788@freescale.com>
-rw-r--r--arch/arm/mach-mx6/system.c2
1 files changed, 1 insertions, 1 deletions
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.
*/