Hi Peter, On Fri, Jan 3, 2020 at 10:33 AM Peter Chen <peter.chen@xxxxxxx> wrote: > > > > > ++++++++++++++++++++++++++++++++++ > > > 3 files changed, 231 insertions(+) > > > create mode 100644 drivers/usb/cdns3/cdns3-imx.c > > > > > > diff --git a/drivers/usb/cdns3/Kconfig b/drivers/usb/cdns3/Kconfig > > > index 2a1e89d12ed9..b1f526d20f03 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 > > > > I want to be able to compile this in any arch. Please add COMPILE_TEST and > > make sure it works > > > > Hi Felipe, > > How to make sure it works? Except for enabling CONFIG_COMPLIE_TEST, what else > I need to do? Thanks. Felipe's suggestion is you should change your config dependency as: depends on ARCH_MXC || COMPILE_TEST Then user can compile your driver to find warning or something else though the ARCH_MXC config is not enabled.