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

Igor Opaniuk igor.opaniuk at toradex.com
Mon May 6 13:28:07 UTC 2019


On Mon, May 6, 2019 at 4:20 PM Fabio Estevam <festevam at gmail.com> 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?
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot

Hi Fabio,

usbotg1 on Colibri iMX7 can function in both host/otg modes. In case
if dr_mode = "otg" is specified it obviously won't be enumerated
during usb start invocation.
For ums command actually it doesn't matter what mode is specified in
the device tree, as you explicitly specify usb controller to be used
during invocation (usage: ums <USB_controller> [<devtype>]
<dev[:part]>)

-- 
Best regards - Freundliche GrĂ¼sse - Meilleures salutations

Senior Development Engineer,
Igor Opaniuk

Toradex AG
Altsagenstrasse 5 | 6048 Horw/Luzern | Switzerland | T: +41 41 500 48
00 (main line)


More information about the U-Boot mailing list