On 20-01-11 20:25:59, Greg KH wrote: > On Thu, Jan 09, 2020 at 05:35:58PM +0800, Peter Chen wrote: > > There is a Cadence USB3 core for imx8qm and imx8qxp SoCs, the cdns > > core is the child for this glue layer device. > > > > Signed-off-by: Peter Chen <peter.chen@xxxxxxx> > > --- > > Changes for v2: > > - Add COMPILE_TEST Kconfig option > > - Using BIT Macro for definition > > - Delete runtime pm operation > > > > drivers/usb/cdns3/Kconfig | 10 ++ > > drivers/usb/cdns3/Makefile | 1 + > > drivers/usb/cdns3/cdns3-imx.c | 216 ++++++++++++++++++++++++++++++++++ > > 3 files changed, 227 insertions(+) > > create mode 100644 drivers/usb/cdns3/cdns3-imx.c > > > > diff --git a/drivers/usb/cdns3/Kconfig b/drivers/usb/cdns3/Kconfig > > index 2a1e89d12ed9..84716d216ae5 100644 > > --- a/drivers/usb/cdns3/Kconfig > > +++ b/drivers/usb/cdns3/Kconfig > > @@ -53,4 +53,14 @@ config USB_CDNS3_TI > > > > e.g. J721e. > > > > +config USB_CDNS3_IMX > > + tristate "Cadence USB3 support on NXP i.MX platforms" > > + depends on ARCH_MXC || COMPILE_TEST > > + default USB_CDNS3 > > + help > > + Say 'Y' or 'M' here if you are building for NXP i.MX > > + platforms that contain Cadence USB3 controller core. > > + > > + For example, imx8qm and imx8qxp. > > What will the module name be? > I will add module name at Kconfig, thanks. -- Thanks, Peter Chen