2
0

180-usb-xhci-make-USB_XHCI_PLATFORM-selectable.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. Right now xhci-plat-hcd can be built when using one of platform specific
  9. drivers only (mvebu/rcar). There shouldn't be such limitation as some
  10. platforms may not require any quirks and may want to just use a generic
  11. driver ("generic-xhci" / "xhci-hcd").
  12. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
  13. ---
  14. Greg/Mathias: I'm not sure if it's more like USB subsystem stuff or xHCI
  15. Could you decide which one of you could pick that, please?
  16. V2: Drop useless "default n", thanks Sergei :)
  17. ---
  18. drivers/usb/host/Kconfig | 9 ++++++++-
  19. 1 file changed, 8 insertions(+), 1 deletion(-)
  20. --- a/drivers/usb/host/Kconfig
  21. +++ b/drivers/usb/host/Kconfig
  22. @@ -32,7 +32,14 @@ config USB_XHCI_PCI
  23. default y
  24. config USB_XHCI_PLATFORM
  25. - tristate
  26. + tristate "Generic xHCI driver for a platform device"
  27. + ---help---
  28. + Adds an xHCI host driver for a generic platform device, which
  29. + provides a memory space and an irq.
  30. + It is also a prerequisite for platform specific drivers that
  31. + implement some extra quirks.
  32. +
  33. + If unsure, say N.
  34. config USB_XHCI_MVEBU
  35. tristate "xHCI support for Marvell Armada 375/38x"