diff options
author | Paul Zimmerman <Paul.Zimmerman@synopsys.com> | 2014-01-13 16:50:09 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-13 17:44:01 -0500 |
commit | 197ba5f406cc29000c70de98eb40d7243b9f9f03 (patch) | |
tree | fed25bc3806e864ad6ff7c2cbd4145189c65f828 /drivers/usb/dwc2/Kconfig | |
parent | 276d30eab931eae0ce5c5504b8ff4ab4c97b207b (diff) |
Move DWC2 driver out of staging
The DWC2 driver should now be in good enough shape to move out of
staging. I have stress tested it overnight on RPI running mass
storage and Ethernet transfers in parallel, and for several days
on our proprietary PCI-based platform.
Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/dwc2/Kconfig')
-rw-r--r-- | drivers/usb/dwc2/Kconfig | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/drivers/usb/dwc2/Kconfig b/drivers/usb/dwc2/Kconfig new file mode 100644 index 000000000000..be947d673844 --- /dev/null +++ b/drivers/usb/dwc2/Kconfig | |||
@@ -0,0 +1,53 @@ | |||
1 | config USB_DWC2 | ||
2 | tristate "DesignWare USB2 DRD Core Support" | ||
3 | depends on USB | ||
4 | help | ||
5 | Say Y or M here if your system has a Dual Role HighSpeed | ||
6 | USB controller based on the DesignWare HSOTG IP Core. | ||
7 | |||
8 | If you choose to build this driver as dynamically linked | ||
9 | modules, the core module will be called dwc2.ko, the | ||
10 | PCI bus interface module (if you have a PCI bus system) | ||
11 | will be called dwc2_pci.ko and the platform interface module | ||
12 | (for controllers directly connected to the CPU) will be called | ||
13 | dwc2_platform.ko. | ||
14 | |||
15 | NOTE: This driver at present only implements the Host mode | ||
16 | of the controller. The existing s3c-hsotg driver supports | ||
17 | Peripheral mode, but only for the Samsung S3C platforms. | ||
18 | There are plans to merge the s3c-hsotg driver with this | ||
19 | driver in the near future to create a dual-role driver. | ||
20 | |||
21 | if USB_DWC2 | ||
22 | |||
23 | config USB_DWC2_DEBUG | ||
24 | bool "Enable Debugging Messages" | ||
25 | help | ||
26 | Say Y here to enable debugging messages in the DWC2 Driver. | ||
27 | |||
28 | config USB_DWC2_VERBOSE | ||
29 | bool "Enable Verbose Debugging Messages" | ||
30 | depends on USB_DWC2_DEBUG | ||
31 | help | ||
32 | Say Y here to enable verbose debugging messages in the DWC2 Driver. | ||
33 | WARNING: Enabling this will quickly fill your message log. | ||
34 | If in doubt, say N. | ||
35 | |||
36 | config USB_DWC2_TRACK_MISSED_SOFS | ||
37 | bool "Enable Missed SOF Tracking" | ||
38 | help | ||
39 | Say Y here to enable logging of missed SOF events to the dmesg log. | ||
40 | WARNING: This feature is still experimental. | ||
41 | If in doubt, say N. | ||
42 | |||
43 | config USB_DWC2_DEBUG_PERIODIC | ||
44 | bool "Enable Debugging Messages For Periodic Transfers" | ||
45 | depends on USB_DWC2_DEBUG || USB_DWC2_VERBOSE | ||
46 | default y | ||
47 | help | ||
48 | Say N here to disable (verbose) debugging messages to be | ||
49 | logged for periodic transfers. This allows better debugging of | ||
50 | non-periodic transfers, but of course the debug logs will be | ||
51 | incomplete. Note that this also disables some debug messages | ||
52 | for which the transfer type cannot be deduced. | ||
53 | endif | ||