Signed-off-by: Paul Zimmerman <paulz@xxxxxxxxxxxx> --- drivers/usb/dwc2/Kconfig | 25 +++++++++++++++++++++++++ drivers/usb/dwc2/Makefile | 13 +++++++++++++ 2 files changed, 38 insertions(+), 0 deletions(-) create mode 100644 drivers/usb/dwc2/Kconfig create mode 100644 drivers/usb/dwc2/Makefile diff --git a/drivers/usb/dwc2/Kconfig b/drivers/usb/dwc2/Kconfig new file mode 100644 index 0000000..08f33bc --- /dev/null +++ b/drivers/usb/dwc2/Kconfig @@ -0,0 +1,25 @@ +config USB_DWC2 + tristate "DesignWare USB2 DRD Core Support" + depends on (USB && USB_GADGET) + select USB_OTG_UTILS + help + Say Y or M here if your system has a Dual Role HighSpeed + USB controller based on the DesignWare HSOTG IP Core. + + If you choose to build this driver as a dynamically linked + module, the module will be called dwc2_pci.ko. + +if USB_DWC2 + +config USB_DWC2_DEBUG + bool "Enable Debugging Messages" + help + Say Y here to enable debugging messages in DWC2 Driver. + +config USB_DWC2_VERBOSE + bool "Enable Verbose Debugging Messages" + depends on USB_DWC2_DEBUG + help + Say Y here to enable verbose debugging messages in DWC2 Driver. + +endif diff --git a/drivers/usb/dwc2/Makefile b/drivers/usb/dwc2/Makefile new file mode 100644 index 0000000..fad5f1b --- /dev/null +++ b/drivers/usb/dwc2/Makefile @@ -0,0 +1,13 @@ +ccflags-$(CONFIG_USB_DWC2_DEBUG) += -DDEBUG +ccflags-$(CONFIG_USB_DWC2_VERBOSE) += -DVERBOSE +ccflags-y += -DDWC_HOST_ONLY + +ccflags-y += -Idrivers/usb/gadget + +obj-$(CONFIG_USB_DWC2) += dwc2_pci.o + +dwc2_pci-y += core.o core_intr.o +dwc2_pci-y += hcd.o hcd_intr.o +dwc2_pci-y += hcd_queue.o hcd_ddma.o + +dwc2_pci-y += pci.o -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html