Re: musb: am3358: having problem with high-speed on usb1 at peripheral

From: Bin Liu
Date: Tue Aug 23 2016 - 11:20:14 EST


Hi,

On Tue, Aug 23, 2016 at 09:57:17AM +0800, Ayaka wrote:
>
>
> åæç iPad åé
>
> > Bin Liu <b-liu@xxxxxx> æ 2016å8æ19æ äå12:08 åéï
> >
> > Hi,
> >
> >> On Fri, Aug 12, 2016 at 10:23:15AM +0800, ayaka wrote:
> >> Hello all:
> >> I recently add a support for customize am3358 board using the branch
> >> processor-sdk-linux-03.00.00 from Ti git. But I meet a problem with musb
> >> at the peripheral mode.
> >> I have force usb1 in peripheral mode in dts as it only have USB_DP,
> >> USB_DM and USBDRV connected. I start up a ether gadget using the configfs,
> >
> > Do you mean USB1_DRVVBUS pin? If so, you have wrong hw design. For
> > peripheral mode, you should float this pin, but connect USB1_VBUS pin
> > instead.
> >
> Thank you very much. After hardware modification, it could work on hi-speed mode now.
> But I wonder it have effect? As the vbus is not used to transmit data in USB?

>From am3358 perspective, USB1_VBUS is an input pin, which is one of the
conditions for musb role switching. More detail is in the am335x TRM.

Regards,
-Bin.

> > Regards,
> > -Bin.
> >
> >> But I found it would always work on the USB 2.0 full speed mode,
> >> even the testmode can't force it in high speed mode or it won't appear
> >> at host side. If I want it work at high speed mode, what should I do?
> >> I also meet the DMA problem, I have to apply the "ARM: dts: am33xx:
> >> fix DMA support for the second USB interface", but does patches really
> >> work? Although it make the error message disapear, but the mail list
> >> said the just make the usb back to PIO mode.
> >>
> >> --
> >> 2.7.4
> >>
> >> --
> >> 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
>