xref: /linux/drivers/usb/dwc2/Kconfig (revision 197ba5f406cc29000c70de98eb40d7243b9f9f03)
1*197ba5f4SPaul Zimmermanconfig USB_DWC2
2*197ba5f4SPaul Zimmerman	tristate "DesignWare USB2 DRD Core Support"
3*197ba5f4SPaul Zimmerman	depends on USB
4*197ba5f4SPaul Zimmerman	help
5*197ba5f4SPaul Zimmerman	  Say Y or M here if your system has a Dual Role HighSpeed
6*197ba5f4SPaul Zimmerman	  USB controller based on the DesignWare HSOTG IP Core.
7*197ba5f4SPaul Zimmerman
8*197ba5f4SPaul Zimmerman	  If you choose to build this driver as dynamically linked
9*197ba5f4SPaul Zimmerman	  modules, the core module will be called dwc2.ko, the
10*197ba5f4SPaul Zimmerman	  PCI bus interface module (if you have a PCI bus system)
11*197ba5f4SPaul Zimmerman	  will be called dwc2_pci.ko and the platform interface module
12*197ba5f4SPaul Zimmerman	  (for controllers directly connected to the CPU) will be called
13*197ba5f4SPaul Zimmerman	  dwc2_platform.ko.
14*197ba5f4SPaul Zimmerman
15*197ba5f4SPaul Zimmerman	  NOTE: This driver at present only implements the Host mode
16*197ba5f4SPaul Zimmerman	  of the controller. The existing s3c-hsotg driver supports
17*197ba5f4SPaul Zimmerman	  Peripheral mode, but only for the Samsung S3C platforms.
18*197ba5f4SPaul Zimmerman	  There are plans to merge the s3c-hsotg driver with this
19*197ba5f4SPaul Zimmerman	  driver in the near future to create a dual-role driver.
20*197ba5f4SPaul Zimmerman
21*197ba5f4SPaul Zimmermanif USB_DWC2
22*197ba5f4SPaul Zimmerman
23*197ba5f4SPaul Zimmermanconfig USB_DWC2_DEBUG
24*197ba5f4SPaul Zimmerman	bool "Enable Debugging Messages"
25*197ba5f4SPaul Zimmerman	help
26*197ba5f4SPaul Zimmerman	  Say Y here to enable debugging messages in the DWC2 Driver.
27*197ba5f4SPaul Zimmerman
28*197ba5f4SPaul Zimmermanconfig USB_DWC2_VERBOSE
29*197ba5f4SPaul Zimmerman	bool "Enable Verbose Debugging Messages"
30*197ba5f4SPaul Zimmerman	depends on USB_DWC2_DEBUG
31*197ba5f4SPaul Zimmerman	help
32*197ba5f4SPaul Zimmerman	  Say Y here to enable verbose debugging messages in the DWC2 Driver.
33*197ba5f4SPaul Zimmerman	  WARNING: Enabling this will quickly fill your message log.
34*197ba5f4SPaul Zimmerman	  If in doubt, say N.
35*197ba5f4SPaul Zimmerman
36*197ba5f4SPaul Zimmermanconfig USB_DWC2_TRACK_MISSED_SOFS
37*197ba5f4SPaul Zimmerman	bool "Enable Missed SOF Tracking"
38*197ba5f4SPaul Zimmerman	help
39*197ba5f4SPaul Zimmerman	  Say Y here to enable logging of missed SOF events to the dmesg log.
40*197ba5f4SPaul Zimmerman	  WARNING: This feature is still experimental.
41*197ba5f4SPaul Zimmerman	  If in doubt, say N.
42*197ba5f4SPaul Zimmerman
43*197ba5f4SPaul Zimmermanconfig USB_DWC2_DEBUG_PERIODIC
44*197ba5f4SPaul Zimmerman	bool "Enable Debugging Messages For Periodic Transfers"
45*197ba5f4SPaul Zimmerman	depends on USB_DWC2_DEBUG || USB_DWC2_VERBOSE
46*197ba5f4SPaul Zimmerman	default y
47*197ba5f4SPaul Zimmerman	help
48*197ba5f4SPaul Zimmerman	  Say N here to disable (verbose) debugging messages to be
49*197ba5f4SPaul Zimmerman	  logged for periodic transfers. This allows better debugging of
50*197ba5f4SPaul Zimmerman	  non-periodic transfers, but of course the debug logs will be
51*197ba5f4SPaul Zimmerman	  incomplete. Note that this also disables some debug messages
52*197ba5f4SPaul Zimmerman	  for which the transfer type cannot be deduced.
53*197ba5f4SPaul Zimmermanendif
54