[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <61061197.hLhKsFqJLF@wuerfel>
Date: Tue, 06 May 2014 13:57:44 +0200
From: Arnd Bergmann <arnd@...db.de>
To: linux-arm-kernel@...ts.infradead.org
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>,
Andrew Lunn <andrew@...n.ch>,
Jason Cooper <jason@...edaemon.net>,
Mathias Nyman <mathias.nyman@...el.com>,
devicetree@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
Felipe Balbi <balbi@...com>, Nadav Haklai <nadavh@...vell.com>,
Grant Likely <grant.likely@...aro.org>,
Lior Amsalem <alior@...vell.com>,
Rob Herring <robh+dt@...nel.org>,
Ezequiel Garcia <ezequiel.garcia@...e-electrons.com>,
Gregory CLEMENT <gregory.clement@...e-electrons.com>,
Tawfik Bayouk <tawfik@...vell.com>,
Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>
Subject: Re: [PATCH v3 06/20] usb: host: xhci-plat: Add support for the Armada 38x
On Tuesday 06 May 2014 13:34:46 Bartlomiej Zolnierkiewicz wrote:
> On Tuesday, May 06, 2014 02:14:01 AM Gregory CLEMENT wrote:
> > For the Armada 38x SoCs which come with an xhci controller, specific
> > initialization must be done during probe related to the MBus windows
> > configuration. This patch adds the support of this quirk.
> >
> > Signed-off-by: Gregory CLEMENT <gregory.clement@...e-electrons.com>
> > ---
> > drivers/usb/host/Kconfig | 7 +++++
> > drivers/usb/host/Makefile | 1 +
> > drivers/usb/host/xhci-mvebu.c | 71 +++++++++++++++++++++++++++++++++++++++++++
> > drivers/usb/host/xhci-mvebu.h | 21 +++++++++++++
> > drivers/usb/host/xhci-plat.c | 6 ++++
> > 5 files changed, 106 insertions(+)
> > create mode 100644 drivers/usb/host/xhci-mvebu.c
> > create mode 100644 drivers/usb/host/xhci-mvebu.h
> >
> > diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
> > index 3d9e54062d62..e70943fac4a1 100644
> > --- a/drivers/usb/host/Kconfig
> > +++ b/drivers/usb/host/Kconfig
> > @@ -29,6 +29,13 @@ if USB_XHCI_HCD
> > config USB_XHCI_PLATFORM
> > tristate
> >
> > +config USB_XHCI_MVEBU
> > + tristate "xHCI support for Marvell Armada 38x"
>
> Please limit this driver to mvebu arch and compile testing, i.e.
>
> depends on ARCH_MVEBU || COMPILE_TEST
I think it actually needs a dependency on MVEBU_MBUS.
You probably need something like
depends on MVEBU_MBUS=y || (MVEBU_MBUS=m && USB_XHCI=m)
Also, having the option 'tristate' makes no sense, since you
can't have it as a loadable module.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists