Root/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
6comment "Enable Host or Gadget support for DesignWare OTG controller"
7depends on !USB && USB_GADGET=n
8
9config 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
16config DWC_DEBUG
17    bool "Enable DWC Debugging"
18    depends on USB_DWC_OTG
19    default n
20    help
21       Enable DWC driver debugging
22
23choice
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
30config DWC_HOST_ONLY
31    bool "DWC Host Only Mode"
32
33config DWC_OTG_MODE
34    bool "DWC OTG Mode"
35    select USB_GADGET
36    select USB_GADGET_SELECTED
37
38config DWC_DEVICE_ONLY
39    bool "DWC Device Only Mode"
40    select USB_GADGET
41    select USB_GADGET_SELECTED
42
43endchoice
44
45

Archive Download this file



interactive