diff options
author | Tony Lindgren <tony@atomide.com> | 2016-03-02 10:29:29 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-03-02 10:29:29 -0500 |
commit | ebf24414809200915b9ddf7f109bba7c278c8210 (patch) | |
tree | fc2f71a470c452003923754d0a12c45378513d40 | |
parent | 4f5395f0d1a5b7c8921331ef81081da00302a37c (diff) |
ARM: OMAP2+: Use srst_udelay for USB on dm814x
Without this booting t410 can fail randomly with no output
depending on the .config options chosen. Enabling debug_ll
causes the problem to go away. I narrowed this down to USB
by disabling one module at a time.
Acked-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_81xx_data.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_81xx_data.c b/arch/arm/mach-omap2/omap_hwmod_81xx_data.c index f8cc40021729..743a2a2183a0 100644 --- a/arch/arm/mach-omap2/omap_hwmod_81xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_81xx_data.c | |||
@@ -546,9 +546,11 @@ static struct omap_hwmod_ocp_if dm81xx_alwon_l3_slow__gpmc = { | |||
546 | .user = OCP_USER_MPU, | 546 | .user = OCP_USER_MPU, |
547 | }; | 547 | }; |
548 | 548 | ||
549 | /* USB needs udelay 1 after reset at least on hp t410, use 2 for margin */ | ||
549 | static struct omap_hwmod_class_sysconfig dm81xx_usbhsotg_sysc = { | 550 | static struct omap_hwmod_class_sysconfig dm81xx_usbhsotg_sysc = { |
550 | .rev_offs = 0x0, | 551 | .rev_offs = 0x0, |
551 | .sysc_offs = 0x10, | 552 | .sysc_offs = 0x10, |
553 | .srst_udelay = 2, | ||
552 | .sysc_flags = SYSC_HAS_SIDLEMODE | SYSC_HAS_MIDLEMODE | | 554 | .sysc_flags = SYSC_HAS_SIDLEMODE | SYSC_HAS_MIDLEMODE | |
553 | SYSC_HAS_SOFTRESET, | 555 | SYSC_HAS_SOFTRESET, |
554 | .idlemodes = SIDLE_SMART | MSTANDBY_FORCE | MSTANDBY_SMART, | 556 | .idlemodes = SIDLE_SMART | MSTANDBY_FORCE | MSTANDBY_SMART, |