Skip to contentSkip to conversation

usb: ohci: Add OHCI PCI driver

PATCH New Marek Vasut 1 participant 1 message Oct 18, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: ohci: Add OHCI PCI driver

Add small OHCI PCI driver for USB 1.1 OHCI controllers on PCI bus. This driver matches only on PCI class (serial-ohci) and requires DM-USB ; any sort of deprecated legacy usage is not supported.

---
 drivers/usb/host/Kconfig    |  6 ++++
 drivers/usb/host/Makefile   |  1 +
 drivers/usb/host/ohci-pci.c | 55 +++++++++++++++++++++++++++++++++++++
 3 files changed, 62 insertions(+)
 create mode 100644 drivers/usb/host/ohci-pci.c
drivers/usb/host/Kconfig +6 -0
index a213c918bc..045aa0a3f6 100644
@@ -224,6 +224,12 @@ config USB_OHCI_GENERIC
 	---help---
 	  Enables support for generic OHCI controller.
 
+config USB_OHCI_PCI
+	bool "Support for PCI-based OHCI USB controller"
+	depends on DM_USB
+	help
+	  Enables support for the PCI-based OHCI controller.
+
 endif # USB_OHCI_HCD
 
 config USB_UHCI_HCD
drivers/usb/host/Makefile +1 -0
index cb8c315a15..b7c94cadcb 100644
@@ -18,6 +18,7 @@ obj-$(CONFIG_USB_OHCI_EP93XX) += ohci-ep93xx.o
 obj-$(CONFIG_USB_OHCI_SUNXI) += ohci-sunxi.o
 obj-$(CONFIG_USB_OHCI_LPC32XX) += ohci-lpc32xx.o
 obj-$(CONFIG_USB_OHCI_GENERIC) += ohci-generic.o
+obj-$(CONFIG_USB_OHCI_PCI) += ohci-pci.o
 
 # echi
 obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o
drivers/usb/host/ohci-pci.c new file +55 -0

55 lines not on this page · raw message

Signature · 1 line
2.18.0