Re: [PATCH] usb: musb: am335x: Do not remove the session bin HOST-onlymode

From: Sebastian Andrzej Siewior
Date: Wed Aug 14 2013 - 14:17:34 EST


On 08/13/2013 04:32 PM, Bin Liu wrote:
> Sebastian,

Hi Bin,

> 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.

So I tried to boot my beagle bone board to figure out if they use the
first or the second port in host mode (but it doesn't boot). The tiny
micro USB plug is 100% for UART and not wired up to MUSB.

Any comments on that patch? I would remove the ID pin changes and
repost if you don't mind.

>> Sebastian

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/