[U-Boot] 答复: 答复: [PATCH v2 1/4] USB: gadget: Add the cadence USB3 gadget driver

Sherry Sun sherry.sun at nxp.com
Sat Aug 17 08:13:50 UTC 2019


Hi Marek

> 
> On 8/16/19 6:45 AM, Sherry Sun wrote:
> > Hi Marek
> >
> >>
> >> On 8/14/19 2:16 PM, sherry sun wrote:
> >>> From: Sherry Sun <sherry.sun at nxp.com>
> >>>
> >>> This driver is ported from NXP i.MX U-Boot version imx_v2019.04 and
> >>> some changes have also been made to adapt to U-Boot.
> >>>
> >>> Add the Cadence USB3 IP(CDNS3) driver for the gadget (device mode).
> >>> The CDNS3 gadget driver support DM mode. CONFIG_DM_USB_GADGET
> >> should
> >>> be enabled when use this driver. And gadget_is_cdns3 checking is
> >>> added to provide bcdUSB value in device descriptor.
> >>
> >> The cadence core isn't xhci compatible ? Sigh ...
> >>
> >
> > Actually, I'm not very understand what the xhci compatible means?
> > The cadence core can support usb peripheral and host. But for now, we
> > just done the gadget part in the core code. If it needed later, we can
> > add the host part to it.
> 
> So this is all needed to support gadget on the cadence3 ?

Yes, this patch is all needed for cdns3 usb gadget driver.
I have already validated this on i.MX8 platform.


More information about the U-Boot mailing list