On 01.03.2013 22:57, Daniel Mack wrote: > Hi Afzal, everyone, > > On 03.11.2012 08:33, Mohammed, Afzal wrote: >> * Daniel Mack, November 03, 2012 1:06 AM: >> >>> I'm testing these patches with an AM33xx board that has the first musb >>> port wired to an USB type A plug, but it doesn't yet work for me. >> >>> So there is no host interface registered. I'm unsure on how to fix this, >>> and I didn't get an answer yet to that question when I asked Felipe >>> about how interface drivers like dsps are supposed to act in order to >>> get host mode back after the recent musb cleanups. >> >>> What type of hardware do you test this with? Does host mode work for you? >> >> To add to those details mentioned by Ravi, >> >> This was tested on Beagle Bone with USB0 as usb-ethernet. >> >> For purely Kernel part, this series is sufficient (along with >> dependency mentioned in cover letter), considering >> the fact that dt node is strictly not a part of Kernel. >> >> To test this series, node for usbss should be present in dt. >> Example in dt documentation can be pasted onto dtsi file >> to get USB0 working. > > I have to pick up this old thread because I'm still having trouble > understanding how the AM335x musb driver is meant to be used as HCD. > > I used to have it working based on 3.7 with a terrible hack that reverts > a couple of old commits partly. Now I started over with a fresh setup > based on Linus' current soon-to-be 3.9-rc tip, actually hoping that the > issues are solved. > > On my board, the USB is purely used as host interface, with a type B > plug soldered. In the DT, I'm using the following sniplet in accordance > to the documentation of the bindings: > > usb_otg_hs: usb@47400000 { > compatible = "ti,musb-am33xx"; > reg = <0x47400000 0x1000 /* usbss */ > 0x47401000 0x800 /* musb instance 0 */ > 0x47401800 0x800>; /* musb instance 1 */ > interrupt-parent = <&intc>; > interrupts = <17 /* usbss */ > 18 /* musb instance 0 */ > 19>; /* musb instance 1 */ > multipoint = <1>; > num-eps = <16>; > ram-bits = <12>; > port0-mode = <3>; > port1-mode = <3>; Btw, same happens for: port0-mode = <1>; Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html