usb: ohci: Add OHCI PCI driver
Subsystems (2)
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.
Signed-off-by Marek Vasut <[email protected]>
--- 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
@@ -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
@@ -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