[U-Boot] [PATCH v3 1/1] colibri_imx7: migrate usb to driver model

Marcel Ziswiler marcel.ziswiler at toradex.com
Mon May 6 13:52:47 UTC 2019


On Mon, 2019-05-06 at 10:40 -0300, Fabio Estevam wrote:
> Hi Marcel and Igor,
> 
> On Mon, May 6, 2019 at 10:30 AM Marcel Ziswiler
> <marcel.ziswiler at toradex.com> wrote:
> 
> > No, I believe the gadget stack currently does not look at this at
> > all while the host stack refuses to bind/load if it is not set to
> > host. Whether or not this is a good idea and/or would need fixing
> > at various other places remains to be seen I guess.
> 
> I think it is a bit strange to describe the USB otg port as "host" in
> the devicetree if it really works in peripheral mode.

No, on Colibri iMX7 one may really use it either in host or peripheral
mode. This is especially important on the solo variant which has only
that one single USB OTG port.

> By the way, we don't see this issue with imx7s-warp.dts, nor imx7d-
> pico.dtsi.

Just to be crystal clear what we are talking about: On those two one may also use the USB OTG port either as host (e.g. doing usb start; ls usb 0:1 etc.) or peripheral (e.g. doing ums 0 mmc 0), right?


More information about the U-Boot mailing list