Re: [PATCH] usb: musb: am335x: Do not remove the session binHOST-only mode

From: Bin Liu
Date: Tue Aug 13 2013 - 10:32:19 EST


Sebastian,

On Tue, Aug 13, 2013 at 9:23 AM, Sebastian Andrzej Siewior
<bigeasy@xxxxxxxxxxxxx> wrote:
> Where is my memory going? So now I have a beagle bone in front of me
> and I see a micro USB port a standard A connector. My memory was
> different.
> The micro USB is the UART and standard is most likely the first musb
> instance. So this should run also in host mode and not in OTG mode.
> Hmmm. Let me double check this.
I don't know how dts instances both in mainline, but I would think if
you create two musb instances, and load a gadget driver for this micro
USB port, the USB host should enumerate it. The standard port should
be the 2nd instance which has its ID pin grounded and work in
host-only mode.

This is how they work in TI 3.2 kernel.

>
>
> Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/