[PATCH v7 00/11] usb: musb: adding multi instance support

Hiremath, Vaibhav hvaibhav at ti.com
Fri Aug 3 19:07:34 EST 2012


On Fri, Aug 03, 2012 at 14:32:35, Daniel Mack wrote:
> On 03.08.2012 10:43, Ajay Gupta wrote:
> >> On 03.08.2012 02:54, B, Ravi wrote:
> >>>> On 02.08.2012 14:12, Ravi Babu wrote:
> 
> >> However, I needed to add a phandle "usb0-phy = <&usb0_phy>" to the
> >> usb_otg_hs DTSI block, otherwise devm_usb_get_phy_by_phandle() in
> >> drivers/usb/musb/musb_dsps.c would fail. Is that correct? I can't seem to
> >> find that in your patches.
> > 
> > It's getting done in patch 11/11.
> 
> Ah, ok.
> 
> >> With this addition, I see the following:
> >>
> >> [    1.782180] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
> >> [    1.809966] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
> >> [    1.819068] musb-hdrc musb-hdrc.0: new USB bus registered, assigned
> >> bus number 1
> >> [    1.827970] usb usb1: New USB device found, idVendor=1d6b,
> >> idProduct=0002
> >> [    1.835184] usb usb1: New USB device strings: Mfr=3, Product=2,
> >> SerialNumber=1
> >> [    1.842818] usb usb1: Product: MUSB HDRC host driver
> >> [    1.848031] usb usb1: Manufacturer: Linux
> >> 3.6.0-rc1-00038-g8a1ec8f-dirty musb-hcd
> >> [    1.855933] usb usb1: SerialNumber: musb-hdrc.0
> >> [    1.866913] hub 1-0:1.0: USB hub found
> >> [    1.871192] hub 1-0:1.0: 1 port detected
> >> [    1.878106] musb-hdrc musb-hdrc.0: USB Host mode controller at
> >> d08c0000 using PIO, IRQ 18	
> >>
> >> ... but no USB functions. Also, every two seconds, the following message is
> >> printed:
> >>
> >> [   11.036608] musb_bus_suspend 2308: trying to suspend as a_wait_vrise
> >> while active
> >> [   13.044811] musb_bus_suspend 2308: trying to suspend as a_wait_vrise
> >> while active
> >> [   15.052196] musb_bus_suspend 2308: trying to suspend as a_wait_vrise
> >> while active
> > 
> > Do you see them even when you connect a device to port?
> 
> Yes. Will investigate more later today. Just wanted to know whether this
> is a typical config problem.
> 

Daniel

I have just pushed the code (V7 which Ravi submitted), so can you please try 
with below branch? 

https://github.com/hvaibhav/am335x-linux/tree/am335x-upstream-staging-usb

Thanks,
Vaibhav


More information about the devicetree-discuss mailing list