TITLE:=DWC2 USB controller driver
DEPENDS:=+USB_GADGET_SUPPORT:kmod-usb-gadget +kmod-usb-roles
KCONFIG:= \
- CONFIG_USB_PCI=y \
CONFIG_USB_DWC2 \
- CONFIG_USB_DWC2_PCI \
- CONFIG_USB_DWC2_PLATFORM \
CONFIG_USB_DWC2_DEBUG=n \
CONFIG_USB_DWC2_VERBOSE=n \
CONFIG_USB_DWC2_TRACK_MISSED_SOFS=n \
$(eval $(call KernelPackage,usb-dwc2))
+define KernelPackage/usb-dwc2-pci
+ TITLE:=DWC2 USB controller driver (PCI)
+ DEPENDS:=@PCI_SUPPORT +kmod-usb-dwc2 +kmod-usb-phy-nop
+ KCONFIG:= \
+ CONFIG_USB_PCI=y \
+ CONFIG_USB_DWC2_PCI
+ FILES:= \
+ $(LINUX_DIR)/drivers/usb/dwc2/dwc2_pci.ko
+ AUTOLOAD:=$(call AutoLoad,54,dwc2_pci,1)
+ $(call AddDepends/usb)
+endef
+
+define KernelPackage/usb-dwc2-pci/description
+ The Designware USB2.0 PCI interface module for controllers
+ connected to a PCI bus.
+endef
+
+$(eval $(call KernelPackage,usb-dwc2-pci))
+
+
define KernelPackage/usb-dwc3
TITLE:=DWC3 USB controller driver
KCONFIG:= \