[OpenWrt-Devel] [PATCH 1/4] package: kernel: modules: Enable Dual-Role support for DWC2 USB

Marek Vasut marex at denx.de
Mon May 2 16:42:09 EDT 2016


Enable configuration option which allows DWC2 USB OTG core
to operate in Dual-Role mode.

Signed-off-by: Marek Vasut <marex at denx.de>
---
 package/kernel/linux/modules/usb.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 8c5a2ab..b41880b 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -488,6 +488,7 @@ define KernelPackage/usb-dwc2
 	CONFIG_USB_DWC2_VERBOSE=n \
 	CONFIG_USB_DWC2_TRACK_MISSED_SOFS=n \
 	CONFIG_USB_DWC2_DEBUG_PERIODIC=n
+	CONFIG_USB_DWC2_DUAL_ROLE=y
   FILES:= \
 	$(LINUX_DIR)/drivers/usb/dwc2/dwc2.ko \
 	$(LINUX_DIR)/drivers/usb/dwc2/dwc2_platform.ko at lt4.3
-- 
2.7.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list