Convert CONFIG_USB_GADGET_DWC2_OTG_PHY to Kconfig
[platform/kernel/u-boot.git] / drivers / usb / gadget / Kconfig
index 46aa3fe..350036f 100644 (file)
@@ -15,6 +15,8 @@
 
 menuconfig USB_GADGET
        bool "USB Gadget Support"
+       depends on DM
+       select DM_USB
        help
           USB is a master/slave protocol, organized with one master
           host (such as a PC) controlling up to 127 peripheral devices.
@@ -90,6 +92,11 @@ config USB_GADGET_DWC2_OTG
 
 if USB_GADGET_DWC2_OTG
 
+config USB_GADGET_DWC2_OTG_PHY
+       bool "DesignWare USB2.0 HS OTG PHY"
+       help
+         Enable the DesignWare USB2.0 HS OTG physical device interface.
+
 config USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8
        bool "DesignWare USB2.0 HS OTG controller 8-bit PHY bus width"
        help
@@ -98,6 +105,15 @@ config USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8
 
 endif # USB_GADGET_DWC2_OTG
 
+config USB_GADGET_OS_DESCRIPTORS
+       bool "USB OS Feature Descriptors support"
+       help
+         This is a porting patch from linux kernel: 37a3a533429e
+         ("usb: gadget: OS Feature Descriptors support"), the original commit
+         log see below:
+         There is a custom (non-USB IF) extension to the USB standard:
+         http://msdn.microsoft.com/library/windows/hardware/gg463182
+
 config CI_UDC
        bool "ChipIdea device controller"
        select USB_GADGET_DUALSPEED
@@ -105,6 +121,12 @@ config CI_UDC
          Say Y here to enable device controller functionality of the
          ChipIdea driver.
 
+config USB_GADGET_MAX3420
+       bool "MAX3420 USB Over SPI"
+       depends on DM_SPI
+       help
+         MAX3420, from MAXIM, implements USB-over-SPI Full-Speed device controller.
+
 config USB_GADGET_VBUS_DRAW
        int "Maximum VBUS Power usage (2-500 mA)"
        range 2 500
@@ -165,6 +187,15 @@ config USB_FUNCTION_THOR
          Enable Tizen's THOR download protocol support in U-Boot. It
          allows downloading images into memory and flash them to target device.
 
+config USB_FUNCTION_ACM
+       bool "Enable CDC ACM gadget"
+       select SYS_STDIO_DEREGISTER
+       select CIRCBUF
+       help
+         ACM serial link. This function can be used to create a stdio device to
+         interoperate with MS-Windows hosts or with the Linux-USB "cdc-acm"
+         driver.
+
 endif # USB_GADGET_DOWNLOAD
 
 config USB_ETHER