45 lines
938 B
Text
45 lines
938 B
Text
|
#
|
||
|
# USB Dual Role (OTG-ready) Controller Drivers
|
||
|
# for silicon based on Synopsys DesignWare IP
|
||
|
#
|
||
|
|
||
|
comment "Enable Host or Gadget support for DesignWare OTG controller"
|
||
|
depends on !USB && USB_GADGET=n
|
||
|
|
||
|
config USB_DWC_OTG
|
||
|
tristate "Synopsys DWC OTG Controller"
|
||
|
depends on USB
|
||
|
help
|
||
|
This driver provides USB Device Controller support for the
|
||
|
Synopsys DesignWare USB OTG Core used on the Cavium CNS34xx SOC.
|
||
|
|
||
|
config DWC_DEBUG
|
||
|
bool "Enable DWC Debugging"
|
||
|
depends on USB_DWC_OTG
|
||
|
default n
|
||
|
help
|
||
|
Enable DWC driver debugging
|
||
|
|
||
|
choice
|
||
|
prompt "DWC Mode Selection"
|
||
|
depends on USB_DWC_OTG
|
||
|
default DWC_HOST_ONLY
|
||
|
help
|
||
|
Select the DWC Core in OTG, Host only, or Device only mode.
|
||
|
|
||
|
config DWC_HOST_ONLY
|
||
|
bool "DWC Host Only Mode"
|
||
|
|
||
|
config DWC_OTG_MODE
|
||
|
bool "DWC OTG Mode"
|
||
|
select USB_GADGET
|
||
|
select USB_GADGET_SELECTED
|
||
|
|
||
|
config DWC_DEVICE_ONLY
|
||
|
bool "DWC Device Only Mode"
|
||
|
select USB_GADGET
|
||
|
select USB_GADGET_SELECTED
|
||
|
|
||
|
endchoice
|
||
|
|