create branch for barrier breaker (from trunk r41863)
[14.07/openwrt.git] / target / linux / cns3xxx / files / drivers / usb / dwc / Kconfig
1 #
2 # USB Dual Role (OTG-ready) Controller Drivers
3 # for silicon based on Synopsys DesignWare IP
4 #
5
6 comment "Enable Host or Gadget support for DesignWare OTG controller"
7 depends on !USB && USB_GADGET=n
8
9 config USB_DWC_OTG
10         tristate "Synopsys DWC OTG Controller"
11         depends on USB
12         help
13            This driver provides USB Device Controller support for the
14            Synopsys DesignWare USB OTG Core used on the Cavium CNS34xx SOC.
15
16 config DWC_DEBUG
17         bool "Enable DWC Debugging"
18         depends on USB_DWC_OTG
19         default n
20         help
21            Enable DWC driver debugging
22
23 choice
24         prompt "DWC Mode Selection"
25         depends on USB_DWC_OTG
26         default DWC_HOST_ONLY
27         help
28            Select the DWC Core in OTG, Host only, or Device only mode.
29
30 config DWC_HOST_ONLY
31         bool "DWC Host Only Mode"
32
33 config DWC_OTG_MODE
34         bool "DWC OTG Mode"
35         select USB_GADGET
36         select USB_GADGET_SELECTED
37
38 config DWC_DEVICE_ONLY
39         bool "DWC Device Only Mode"
40         select USB_GADGET
41         select USB_GADGET_SELECTED
42
43 endchoice
44