From: Tony Lindgren <tony@atomide.com>
To: Felipe Balbi <balbi@ti.com>
Cc: Michael Welling <mwelling@emacinc.com>,
Alan Stern <stern@rowland.harvard.edu>,
gregkh@linuxfoundation.org, linux-usb@vger.kernel.org,
heikki.krogerus@linux.intel.com, chris.ruehl@gtsys.com.hk,
Roger Quadros <rogerq@ti.com>,
Linux OMAP Mailing List <linux-omap@vger.kernel.org>
Subject: Re: OMAP3/AM3517 EHCI USB Issue
Date: Tue, 29 Jul 2014 00:51:45 -0700 [thread overview]
Message-ID: <20140729075144.GG29045@atomide.com> (raw)
In-Reply-To: <20140728181024.GI7667@saruman.home>
* Felipe Balbi <balbi@ti.com> [140728 11:13]:
> On Mon, Jul 28, 2014 at 12:57:39PM -0500, Michael Welling wrote:
> > On Mon, Jul 28, 2014 at 10:57:18AM -0500, Felipe Balbi wrote:
> > > > >
> > > > > Basically it means what you said above: the hub disconnected. I can't
> > > > > tell why. You'll have to ask someone who's familiar with the hardware
> > > > > on that board.
> > > >
> > > > Sadly, there is no one more familar with this specific hardware than myself.
> > > >
> > > > I can however ellaborate the hardware setup of the USB subsystem in
> > > > case there is someone out there that has used a similar setup.
> > > >
> > > > The board uses the AM3517 SoC from TI. The SoC's USB host port (HSUSB1) is
> > > > connected to a USB3320 PHY. The PHY is connected to a USB2512 switch to
> > > > provide two downstream USB ports.
> > > >
> > > > The very same hardware worked with the 2.6.37 kernel that I am trying to
> > > > move away from.
> > > >
> > > > Today I am going to try using 3.10 and 3.14 kernels see if they exhibit
> > > > the same behavior.
> > >
> >
> > It should be noted that the 3.10 kernel did not even detect the external
> > HUB and the 3.14 kernel exhibits the same failure as 3.16.
> >
> > > Do you have off-while-idle enabled ? This could be, as Alan suggested, a
> > > problem with remote wakeup. EHCI on TI parts is kinda awkward, if you
> > > will, and getting remote wakeup with PM working, is generally a
> > > challenge.
> >
> > How would one determine if off-while-idle is enabled? Is this a flag in an
> > entry in the devicetree?
>
> there is a pm_debug file on debugfs which you can use. Set autosuspend
> delay to UART (it's set to -1 by default, IIRC), then leave the board
> idle for a couple minutes, then read /sys/kernel/debug/pm_debug and see
> if the OFF() counters are increasing.
>
> Adding linux-omap to Cc. Also Tony, who has a simple script to enable
> pm_runtime on UART.
I doubt that you have off-while-idle enabled as you need to manually
enable the timeouts for UARTs for it to trigger :) I would check the
related power and clock lines with a scope to see if there are glitches
on them.
In any case, would be nice to have this EHCI stuff be sorted out for
good in the mainline kernel as we do have things working pretty well
for other things.
Regards,
Tony
next prev parent reply other threads:[~2014-07-29 7:53 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20140725200400.GB18127@sysresccd>
[not found] ` <Pine.LNX.4.44L0.1407281059060.1183-100000@iolanthe.rowland.org>
[not found] ` <20140728152948.GA28880@sysresccd>
[not found] ` <20140728155718.GF7667@saruman.home>
[not found] ` <20140728175739.GA29212@sysresccd>
2014-07-28 18:10 ` OMAP3/AM3517 EHCI USB Issue Felipe Balbi
2014-07-29 7:51 ` Tony Lindgren [this message]
2014-07-29 19:55 ` Michael Welling
2014-07-29 20:21 ` Alan Stern
2014-07-29 8:59 ` Roger Quadros
2014-07-29 15:20 ` Michael Welling
2014-07-30 9:03 ` Roger Quadros
2014-07-30 18:59 ` Michael Welling
2014-07-30 23:06 ` Michael Welling
2014-08-01 23:04 ` Michael Welling
2014-08-01 23:51 ` Michael Welling
2014-08-04 9:34 ` Roger Quadros
2014-08-04 15:27 ` Michael Welling
2014-09-19 9:22 ` Roger Quadros
2014-09-19 9:37 ` Michael Trimarchi
2014-09-19 9:48 ` Roger Quadros
2014-07-31 8:13 ` Stefan Herbrechtsmeier
2014-08-11 16:22 Darryl
2014-08-11 16:22 ` Darryl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140729075144.GG29045@atomide.com \
--to=tony@atomide.com \
--cc=balbi@ti.com \
--cc=chris.ruehl@gtsys.com.hk \
--cc=gregkh@linuxfoundation.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mwelling@emacinc.com \
--cc=rogerq@ti.com \
--cc=stern@rowland.harvard.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.