1197ba5f4SPaul Zimmermanconfig USB_DWC2 247a1685fSDinh Nguyen bool "DesignWare USB2 DRD Core Support" 3*c3761a79SDinh Nguyen depends on USB || USB_GADGET 4197ba5f4SPaul Zimmerman help 547a1685fSDinh Nguyen Say Y here if your system has a Dual Role Hi-Speed USB 647a1685fSDinh Nguyen controller based on the DesignWare HSOTG IP Core. 7197ba5f4SPaul Zimmerman 847a1685fSDinh Nguyen For host mode, if you choose to build the driver as dynamically 947a1685fSDinh Nguyen linked modules, the core module will be called dwc2.ko, the PCI 1047a1685fSDinh Nguyen bus interface module (if you have a PCI bus system) will be 1147a1685fSDinh Nguyen called dwc2_pci.ko, and the platform interface module (for 1247a1685fSDinh Nguyen controllers directly connected to the CPU) will be called 1347a1685fSDinh Nguyen dwc2_platform.ko. For gadget mode, there will be a single 1447a1685fSDinh Nguyen module called dwc2_gadget.ko. 15197ba5f4SPaul Zimmerman 1647a1685fSDinh Nguyen NOTE: The s3c-hsotg driver is now renamed to dwc2_gadget. The 1747a1685fSDinh Nguyen host and gadget drivers are still currently separate drivers. 1847a1685fSDinh Nguyen There are plans to merge the dwc2_gadget driver with the dwc2 1947a1685fSDinh Nguyen host driver in the near future to create a dual-role driver. 20197ba5f4SPaul Zimmerman 21197ba5f4SPaul Zimmermanif USB_DWC2 22197ba5f4SPaul Zimmerman 2347a1685fSDinh Nguyenconfig USB_DWC2_HOST 2447a1685fSDinh Nguyen tristate "Host only mode" 2547a1685fSDinh Nguyen depends on USB 2647a1685fSDinh Nguyen help 2747a1685fSDinh Nguyen The Designware USB2.0 high-speed host controller 2847a1685fSDinh Nguyen integrated into many SoCs. 2947a1685fSDinh Nguyen 3047a1685fSDinh Nguyenconfig USB_DWC2_PLATFORM 3147a1685fSDinh Nguyen bool "DWC2 Platform" 3247a1685fSDinh Nguyen depends on USB_DWC2_HOST 3347a1685fSDinh Nguyen default USB_DWC2_HOST 3447a1685fSDinh Nguyen help 3547a1685fSDinh Nguyen The Designware USB2.0 platform interface module for 3647a1685fSDinh Nguyen controllers directly connected to the CPU. This is only 3747a1685fSDinh Nguyen used for host mode. 3847a1685fSDinh Nguyen 3947a1685fSDinh Nguyenconfig USB_DWC2_PCI 4047a1685fSDinh Nguyen bool "DWC2 PCI" 4147a1685fSDinh Nguyen depends on USB_DWC2_HOST && PCI 4247a1685fSDinh Nguyen default USB_DWC2_HOST 4347a1685fSDinh Nguyen help 4447a1685fSDinh Nguyen The Designware USB2.0 PCI interface module for controllers 4547a1685fSDinh Nguyen connected to a PCI bus. This is only used for host mode. 4647a1685fSDinh Nguyen 4747a1685fSDinh Nguyencomment "Gadget mode requires USB Gadget support to be enabled" 4847a1685fSDinh Nguyen 4947a1685fSDinh Nguyenconfig USB_DWC2_PERIPHERAL 5047a1685fSDinh Nguyen tristate "Gadget only mode" 5147a1685fSDinh Nguyen depends on USB_GADGET 5247a1685fSDinh Nguyen help 5347a1685fSDinh Nguyen The Designware USB2.0 high-speed gadget controller 5447a1685fSDinh Nguyen integrated into many SoCs. 5547a1685fSDinh Nguyen 56197ba5f4SPaul Zimmermanconfig USB_DWC2_DEBUG 57197ba5f4SPaul Zimmerman bool "Enable Debugging Messages" 58197ba5f4SPaul Zimmerman help 59197ba5f4SPaul Zimmerman Say Y here to enable debugging messages in the DWC2 Driver. 60197ba5f4SPaul Zimmerman 61197ba5f4SPaul Zimmermanconfig USB_DWC2_VERBOSE 62197ba5f4SPaul Zimmerman bool "Enable Verbose Debugging Messages" 63197ba5f4SPaul Zimmerman depends on USB_DWC2_DEBUG 64197ba5f4SPaul Zimmerman help 65197ba5f4SPaul Zimmerman Say Y here to enable verbose debugging messages in the DWC2 Driver. 66197ba5f4SPaul Zimmerman WARNING: Enabling this will quickly fill your message log. 67197ba5f4SPaul Zimmerman If in doubt, say N. 68197ba5f4SPaul Zimmerman 69197ba5f4SPaul Zimmermanconfig USB_DWC2_TRACK_MISSED_SOFS 70197ba5f4SPaul Zimmerman bool "Enable Missed SOF Tracking" 71197ba5f4SPaul Zimmerman help 72197ba5f4SPaul Zimmerman Say Y here to enable logging of missed SOF events to the dmesg log. 73197ba5f4SPaul Zimmerman WARNING: This feature is still experimental. 74197ba5f4SPaul Zimmerman If in doubt, say N. 75197ba5f4SPaul Zimmerman 76197ba5f4SPaul Zimmermanconfig USB_DWC2_DEBUG_PERIODIC 77197ba5f4SPaul Zimmerman bool "Enable Debugging Messages For Periodic Transfers" 78197ba5f4SPaul Zimmerman depends on USB_DWC2_DEBUG || USB_DWC2_VERBOSE 79197ba5f4SPaul Zimmerman default y 80197ba5f4SPaul Zimmerman help 81197ba5f4SPaul Zimmerman Say N here to disable (verbose) debugging messages to be 82197ba5f4SPaul Zimmerman logged for periodic transfers. This allows better debugging of 83197ba5f4SPaul Zimmerman non-periodic transfers, but of course the debug logs will be 84197ba5f4SPaul Zimmerman incomplete. Note that this also disables some debug messages 85197ba5f4SPaul Zimmerman for which the transfer type cannot be deduced. 86197ba5f4SPaul Zimmermanendif 87