diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 2633f75..4b88527 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -155,6 +155,13 @@ config USB_ATMEL_USBA USBA is the integrated high-speed USB Device controller on the AT32AP700x, some AT91SAM9 and AT91CAP9 processors from Atmel. +config USB_GADGET_DWC_OTG + tristate "Synopsis DWC OTG Controller" + select USB_GADGET_DUALSPEED + help + This driver provide USB Host and Device Controller support for the + Synopsis Designware USB OTG Core. + config USB_FSL_USB2 tristate "Freescale Highspeed USB DR Peripheral Controller" depends on FSL_SOC || ARCH_MXC diff --git a/drivers/usb/otg/Kconfig b/drivers/usb/otg/Kconfig index 5c87db0..997de77 100644 --- a/drivers/usb/otg/Kconfig +++ b/drivers/usb/otg/Kconfig @@ -86,6 +86,41 @@ config NOP_USB_XCEIV built-in with usb ip or which are autonomous and doesn't require any phy programming such as ISP1x04 etc. +menuconfig USB_DWC_OTG + tristate "Synopsis DWC OTG Controller" + help + This driver provide USB Host and Device Controller support for the + Synopsis Designware USB OTG Core + +choice + boolean "Operating Mode" + default USB_DWC_OTG_HOST_ONLY + depends on USB_DWC_OTG + help + Select the operating mode of the controller OTG does both Host and + Device with the selection made by the type of cable used. + +config USB_DWC_OTG_OTG + bool "OTG Support" + depends on USB_GADGET_DWC_OTG && USB + help + Select this for Full OTG Mode. Important You must select Synopsis + DWC_OTG as your peripheral controller in the Gadget Menu + +config USB_DWC_OTG_HOST_ONLY + bool "Host Only" + depends on USB + help + Select this for Host only operation no device support + +config USB_DWC_OTG_DEVICE_ONLY + bool "Device Only" + depends on USB_GADGET_DWC_OTG + help + Select this for Device only operation no host support + +endchoice + config USB_MSM_OTG tristate "OTG support for Qualcomm on-chip USB controller" depends on (USB || USB_GADGET) && ARCH_MSM