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

Marcel Ziswiler marcel.ziswiler at toradex.com
Mon May 6 13:30:39 UTC 2019


Hi Fabio

On Mon, 2019-05-06 at 10:20 -0300, Fabio Estevam wrote:
> Hi Igor,
> 
> On Wed, Apr 17, 2019 at 6:21 AM Igor Opaniuk <
> igor.opaniuk at toradex.com> wrote:
> 
> > +/* Colibri USBC */
> > +&usbotg1 {
> > +       dr_mode = "host";
> 
> Since usbotg1 is used for UMS, this should be dr_mode = "otg" or
> dr_mode="peripheral", right?

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.

Cheers

Marcel


More information about the U-Boot mailing list