2 # USB Dual Role (OTG-ready) Controller Drivers
3 # for silicon based on Synopsys DesignWare IP
6 comment "Enable Host or Gadget support for DesignWare OTG controller"
7 depends on !USB && USB_GADGET=n
10 tristate "Synopsys DWC OTG Controller"
13 This driver provides USB Device Controller support for the
14 Synopsys DesignWare USB OTG Core used on the Cavium CNS34xx SOC.
17 bool "Enable DWC Debugging"
18 depends on USB_DWC_OTG
21 Enable DWC driver debugging
24 prompt "DWC Mode Selection"
25 depends on USB_DWC_OTG
28 Select the DWC Core in OTG, Host only, or Device only mode.
31 bool "DWC Host Only Mode"
36 select USB_GADGET_SELECTED
38 config DWC_DEVICE_ONLY
39 bool "DWC Device Only Mode"
41 select USB_GADGET_SELECTED