[PATCH 7/8] usb: ci_udc: Convert driver to DM_USB_GADGET

Peng Fan peng.fan at nxp.com
Tue Oct 27 09:18:48 CET 2020


> Subject: Re: [PATCH 7/8] usb: ci_udc: Convert driver to DM_USB_GADGET
> 
> Dear Peng Fan,
> 
> In message
> <DB6PR0402MB2760A2A57D48AED93592962488160 at DB6PR0402MB2760.
> eurprd04.prod.outlook.com> you wrote:
> >
> > > > +static const struct udevice_id ci_udc_otg_ids[] = {
> > > > +	{ .compatible = "fsl,imx27-usb-gadget" },
> > > > +	{ }
> > > > +};
> > >
> > > What is imx27-usb-gadget ?
> >
> > This U-Boot specific compatible string. I have no better idea what we
> > need use here to make DM driver work.
> 
> But what is "imx27" ?   This is a i.MX8M family platform, right?
> Not ancient i.MX27 ?

This is just a compatible string means all controllers compatible with
i.MX27 USB could use this driver.

Yes this is for i.MX8MM, but the usb gadget feature could reuse
the i.MX27 code.

Thanks,
Peng.

> 
> Best regards,
> 
> Wolfgang Denk
> 
> --
> DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> "Well I don't see why I have to make one man  miserable  when  I  can
> make so many men happy."              - Ellyn Mustard, about marriage


More information about the U-Boot mailing list