Enabling USBH1 on mx53qsb

Fabio Estevam festevam at gmail.com
Thu Jul 25 16:26:48 EDT 2013


Hi Arnaud,

On Thu, Jul 25, 2013 at 11:03 AM, Arnaud Patard
<arnaud.patard at rtp-net.org> wrote:

> Given that the same gpio controls vbus for both ports, my current guess
> is something on port configuration side (I guess the board would freeze
> hard if a clock is not enabled).

I agree.

Did a quick test: in U-boot I read the value of USB_UH1_PORTSC1, which
is 0xdc000000 right after reset.

If I only change the PTS field to 00 (write 1c000000), which
configures UTMI mode, then USBH1 can work in Linux.

So we have a bug in the chipidea driver not writing to USBH1 PORTSC
register even if I pass the "phy_type" via dt.



More information about the linux-arm-kernel mailing list