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