USB/ppc4xx: Add Synopsys DWC OTG driver kernel configuration and Makefile
PATCH v16 9/10 USB/ppc4xx: Add Synopsys DWC OTG driver kernel configuration and Makefile
Add Synopsys DesignWare HS USB OTG driver kernel configuration. Synopsys OTG driver may operate in host only, device only, or OTG mode. The driver also allows user configure the core to use its internal DMA or Slave (PIO) mode.
Signed-off-by Rupjyoti Sarmah <[email protected]>
Signed-off-by Tirumala R Marri <[email protected]>
Signed-off-by Fushen Chen <[email protected]>
Signed-off-by Mark Miesfeld <[email protected]>
--- drivers/Makefile | 1 + drivers/usb/Kconfig | 2 + drivers/usb/dwc/Kconfig | 84 ++++++++++++++++++++++++++++++++++++++++++++++ drivers/usb/dwc/Makefile | 19 ++++++++++ 4 files changed, 106 insertions(+), 0 deletions(-) create mode 100644 drivers/usb/dwc/Kconfig create mode 100644 drivers/usb/dwc/Makefile
drivers/Makefile +1 -0
@@ -70,6 +70,7 @@ obj-$(CONFIG_PARIDE) += block/paride/ obj-$(CONFIG_TC) += tc/ obj-$(CONFIG_UWB) += uwb/ obj-$(CONFIG_USB_OTG_UTILS) += usb/ +obj-$(CONFIG_USB_DWC_OTG) += usb/dwc/ obj-$(CONFIG_USB) += usb/ obj-$(CONFIG_PCI) += usb/ obj-$(CONFIG_USB_GADGET) += usb/
drivers/usb/Kconfig +2 -0
@@ -133,6 +133,8 @@ source "drivers/usb/host/Kconfig" source "drivers/usb/musb/Kconfig" +source "drivers/usb/dwc/Kconfig" + source "drivers/usb/renesas_usbhs/Kconfig" source "drivers/usb/class/Kconfig"
drivers/usb/dwc/Kconfig new file +84 -0
84 lines not on this page · raw message
drivers/usb/dwc/Makefile new file +19 -0
@@ -0,0 +1,19 @@ +# +# OTG infrastructure and transceiver drivers +# +obj-$(CONFIG_USB_DWC_OTG) += dwc.o + +dwc-objs := cil.o cil_intr.o param.o + +ifeq ($(CONFIG_4xx_SOC),y) +dwc-objs += apmppc.o +endif + +ifneq ($(CONFIG_DWC_DEVICE_ONLY),y) +dwc-objs += hcd.o hcd_intr.o \ + hcd_queue.o +endif + +ifneq ($(CONFIG_DWC_HOST_ONLY),y) +dwc-objs += pcd.o pcd_intr.o +endif
Signature · 1 line
1.7.0.4