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

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


> Subject: Re: [PATCH 7/8] usb: ci_udc: Convert driver to DM_USB_GADGET
> 
> Dear Peng Fan,
> 
> In message <20201012062354.3743-8-peng.fan at nxp.com> you wrote:
> >
> > Convert the ci_udc driver to driver model by using the uclass
> > UCLASS_USB_GADGET_GENERIC. The clk and power of USB controller and
> USB
> > PHY both are initialized by parsing the device tree nodes.
> ...
> > +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.

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
> There are no data that cannot be plotted on a straight  line  if  the axis are
> chosen correctly.


More information about the U-Boot mailing list