public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* USB confusion
@ 2009-09-01 11:42 Gary Thomas
  2009-09-01 12:20 ` Gary Thomas
  2009-09-01 18:14 ` Steve Sakoman
  0 siblings, 2 replies; 6+ messages in thread
From: Gary Thomas @ 2009-09-01 11:42 UTC (permalink / raw)
  To: linux-omap

What are the options to have USB Host support on the "normal"
USB channels (i.e. not the OTG port)?

This used to work on my platform but things stopped when I
upgraded to the latest kernel :-(

n.b. OTG host and gadget still work fine.

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: USB confusion
  2009-09-01 11:42 USB confusion Gary Thomas
@ 2009-09-01 12:20 ` Gary Thomas
  2009-09-01 16:28   ` Felipe Balbi
  2009-09-01 18:14 ` Steve Sakoman
  1 sibling, 1 reply; 6+ messages in thread
From: Gary Thomas @ 2009-09-01 12:20 UTC (permalink / raw)
  To: linux-omap

On 09/01/2009 05:42 AM, Gary Thomas wrote:
> What are the options to have USB Host support on the "normal"
> USB channels (i.e. not the OTG port)?
>
> This used to work on my platform but things stopped when I
> upgraded to the latest kernel :-(
>
> n.b. OTG host and gadget still work fine.
>
> Thanks
>

Following up on this, I made sure that CONFIG_USB_EHCI_HCD was defined.

Now I see these messages:
   ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
   Clock usbhost_48m_fck didn't enable in 100000 tries
   ehci-omap: probe of ehci-omap.0 failed with error -22

Any ideas what else I might be missing?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: USB confusion
  2009-09-01 12:20 ` Gary Thomas
@ 2009-09-01 16:28   ` Felipe Balbi
  2009-09-02  3:38     ` Gupta, Ajay Kumar
  0 siblings, 1 reply; 6+ messages in thread
From: Felipe Balbi @ 2009-09-01 16:28 UTC (permalink / raw)
  To: ext Gary Thomas; +Cc: linux-omap@vger.kernel.org, Paul Walmsley

On Tue, Sep 01, 2009 at 02:20:13PM +0200, ext Gary Thomas wrote:
> Following up on this, I made sure that CONFIG_USB_EHCI_HCD was defined.
> 
> Now I see these messages:
>    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
>    Clock usbhost_48m_fck didn't enable in 100000 tries
>    ehci-omap: probe of ehci-omap.0 failed with error -22
> 
> Any ideas what else I might be missing?

check what happens with that clock. Why is that timing out ?

I believe that message comes from clk fw. Maybe Paul could
give us some hint. Paul ?

-- 
balbi

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: USB confusion
  2009-09-01 11:42 USB confusion Gary Thomas
  2009-09-01 12:20 ` Gary Thomas
@ 2009-09-01 18:14 ` Steve Sakoman
  2009-09-01 18:39   ` Gary Thomas
  1 sibling, 1 reply; 6+ messages in thread
From: Steve Sakoman @ 2009-09-01 18:14 UTC (permalink / raw)
  To: Gary Thomas; +Cc: linux-omap

On Tue, Sep 1, 2009 at 4:42 AM, Gary Thomas<gary@mlbassoc.com> wrote:
> What are the options to have USB Host support on the "normal"
> USB channels (i.e. not the OTG port)?
>
> This used to work on my platform but things stopped when I
> upgraded to the latest kernel :-(

I had the same experience with Overo and posted a patch a couple of
weeks ago to get it working (ARM: OMAP3: Overo: Fix EHCI
initialization)

Beagle EHCI is also broken on top of tree and requires a couple of
changes in the board file.  I'll try to submit that patch in the next
day or so.

Steve

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: USB confusion
  2009-09-01 18:14 ` Steve Sakoman
@ 2009-09-01 18:39   ` Gary Thomas
  0 siblings, 0 replies; 6+ messages in thread
From: Gary Thomas @ 2009-09-01 18:39 UTC (permalink / raw)
  To: Steve Sakoman; +Cc: linux-omap

On 09/01/2009 12:14 PM, Steve Sakoman wrote:
> On Tue, Sep 1, 2009 at 4:42 AM, Gary Thomas<gary@mlbassoc.com>  wrote:
>> What are the options to have USB Host support on the "normal"
>> USB channels (i.e. not the OTG port)?
>>
>> This used to work on my platform but things stopped when I
>> upgraded to the latest kernel :-(
>
> I had the same experience with Overo and posted a patch a couple of
> weeks ago to get it working (ARM: OMAP3: Overo: Fix EHCI
> initialization)

That fixed it (more precisely, the indirectly referenced patch
'fix phy_reset' fixed my problem)

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: USB confusion
  2009-09-01 16:28   ` Felipe Balbi
@ 2009-09-02  3:38     ` Gupta, Ajay Kumar
  0 siblings, 0 replies; 6+ messages in thread
From: Gupta, Ajay Kumar @ 2009-09-02  3:38 UTC (permalink / raw)
  To: felipe.balbi@nokia.com, ext Gary Thomas
  Cc: linux-omap@vger.kernel.org, Paul Walmsley

> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> owner@vger.kernel.org] On Behalf Of Felipe Balbi
> Sent: Tuesday, September 01, 2009 9:58 PM
> To: ext Gary Thomas
> Cc: linux-omap@vger.kernel.org; Paul Walmsley
> Subject: Re: USB confusion
> 
> On Tue, Sep 01, 2009 at 02:20:13PM +0200, ext Gary Thomas wrote:
> > Following up on this, I made sure that CONFIG_USB_EHCI_HCD was defined.
> >
> > Now I see these messages:
> >    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> >    Clock usbhost_48m_fck didn't enable in 100000 tries
> >    ehci-omap: probe of ehci-omap.0 failed with error -22
> >
> > Any ideas what else I might be missing?
> 
> check what happens with that clock. Why is that timing out ?
> 
> I believe that message comes from clk fw. Maybe Paul could
> give us some hint. Paul ?

I faced similar issue and it got solved with increased timeout value.
Patch is already submitted for this:

[PATCH 5/9] ehci: increase timeout to fix ehci failure
http://marc.info/?l=linux-omap&m=124956053919660&w=2

-Ajay
> 
> --
> balbi
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-09-02  3:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-01 11:42 USB confusion Gary Thomas
2009-09-01 12:20 ` Gary Thomas
2009-09-01 16:28   ` Felipe Balbi
2009-09-02  3:38     ` Gupta, Ajay Kumar
2009-09-01 18:14 ` Steve Sakoman
2009-09-01 18:39   ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox