2 bool "DesignWare USB2 DRD Core Support"
5 Say Y here if your system has a Dual Role Hi-Speed USB
6 controller based on the DesignWare HSOTG IP Core.
8 For host mode, if you choose to build the driver as dynamically
9 linked modules, the core module will be called dwc2.ko, the PCI
10 bus interface module (if you have a PCI bus system) will be
11 called dwc2_pci.ko, and the platform interface module (for
12 controllers directly connected to the CPU) will be called
13 dwc2_platform.ko. For gadget mode, there will be a single
14 module called dwc2_gadget.ko.
16 NOTE: The s3c-hsotg driver is now renamed to dwc2_gadget. The
17 host and gadget drivers are still currently separate drivers.
18 There are plans to merge the dwc2_gadget driver with the dwc2
19 host driver in the near future to create a dual-role driver.
24 tristate "Host only mode"
27 The Designware USB2.0 high-speed host controller
28 integrated into many SoCs.
30 config USB_DWC2_PLATFORM
32 depends on USB_DWC2_HOST
35 The Designware USB2.0 platform interface module for
36 controllers directly connected to the CPU. This is only
41 depends on USB_DWC2_HOST && PCI
44 The Designware USB2.0 PCI interface module for controllers
45 connected to a PCI bus. This is only used for host mode.
47 comment "Gadget mode requires USB Gadget support to be enabled"
49 config USB_DWC2_PERIPHERAL
50 tristate "Gadget only mode"
53 The Designware USB2.0 high-speed gadget controller
54 integrated into many SoCs.
57 bool "Enable Debugging Messages"
59 Say Y here to enable debugging messages in the DWC2 Driver.
61 config USB_DWC2_VERBOSE
62 bool "Enable Verbose Debugging Messages"
63 depends on USB_DWC2_DEBUG
65 Say Y here to enable verbose debugging messages in the DWC2 Driver.
66 WARNING: Enabling this will quickly fill your message log.
69 config USB_DWC2_TRACK_MISSED_SOFS
70 bool "Enable Missed SOF Tracking"
72 Say Y here to enable logging of missed SOF events to the dmesg log.
73 WARNING: This feature is still experimental.
76 config USB_DWC2_DEBUG_PERIODIC
77 bool "Enable Debugging Messages For Periodic Transfers"
78 depends on USB_DWC2_DEBUG || USB_DWC2_VERBOSE
81 Say N here to disable (verbose) debugging messages to be
82 logged for periodic transfers. This allows better debugging of
83 non-periodic transfers, but of course the debug logs will be
84 incomplete. Note that this also disables some debug messages
85 for which the transfer type cannot be deduced.