e86ab3f5653e731b1819249e662ca5e5b55eaa51
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-4.0 / 180-usb-xhci-make-USB_XHCI_PLATFORM-selectable.patch
1 From 9612e686b235dc9e33c8dfb5e6d2ff2b2140fb9d Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
3 Date: Tue, 16 Jun 2015 21:01:30 +0200
4 Subject: [PATCH V2] usb: xhci: make USB_XHCI_PLATFORM selectable
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Right now xhci-plat-hcd can be built when using one of platform specific
10 drivers only (mvebu/rcar). There shouldn't be such limitation as some
11 platforms may not require any quirks and may want to just use a generic
12 driver ("generic-xhci" / "xhci-hcd").
13
14 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
15 ---
16 Greg/Mathias: I'm not sure if it's more like USB subsystem stuff or xHCI
17 Could you decide which one of you could pick that, please?
18
19 V2: Drop useless "default n", thanks Sergei :)
20 ---
21 drivers/usb/host/Kconfig | 9 ++++++++-
22 1 file changed, 8 insertions(+), 1 deletion(-)
23
24 diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
25 index 197a6a3..688698a 100644
26 --- a/drivers/usb/host/Kconfig
27 +++ b/drivers/usb/host/Kconfig
28 @@ -32,7 +32,14 @@ config USB_XHCI_PCI
29 default y
30
31 config USB_XHCI_PLATFORM
32 - tristate
33 + tristate "Generic xHCI driver for a platform device"
34 + ---help---
35 + Adds an xHCI host driver for a generic platform device, which
36 + provides a memory space and an irq.
37 + It is also a prerequisite for platform specific drivers that
38 + implement some extra quirks.
39 +
40 + If unsure, say N.
41
42 config USB_XHCI_MVEBU
43 tristate "xHCI support for Marvell Armada 375/38x"
44 --
45 1.8.4.5
46