]> git.sur5r.net Git - u-boot/blobdiff - drivers/usb/gadget/Kconfig
Merge git://git.denx.de/u-boot-fsl-qoriq
[u-boot] / drivers / usb / gadget / Kconfig
index cfd8ce88eeb2a2985d4689785d5d46085928c8f4..261ed128acd882c996c11114f9d51eb963e435b5 100644 (file)
@@ -36,6 +36,44 @@ menuconfig USB_GADGET
 
 if USB_GADGET
 
+config USB_GADGET_ATMEL_USBA
+       bool "Atmel USBA"
+       select USB_GADGET_DUALSPEED
+       help
+         USBA is the integrated high-speed USB Device controller on
+         the AT32AP700x, some AT91SAM9 and AT91CAP9 processors from Atmel.
+
+config USB_GADGET_BCM_UDC_OTG_PHY
+       bool "Broadcom UDC OTG PHY"
+       help
+         Enable the Broadcom UDC OTG physical device interface.
+
+config USB_GADGET_DWC2_OTG
+       bool "DesignWare USB2.0 HS OTG controller (gadget mode)"
+       select USB_GADGET_DUALSPEED
+       help
+         The Designware USB2.0 high-speed gadget controller
+         integrated into many SoCs. Select this option if you want the
+         driver to operate in Peripheral mode. This option requires
+         USB_GADGET to be enabled.
+
+if USB_GADGET_DWC2_OTG
+
+config USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8
+       bool "DesignWare USB2.0 HS OTG controller 8-bit PHY bus width"
+       help
+         Set the Designware USB2.0 high-speed OTG controller
+         PHY interface width to 8 bits, rather than the default (16 bits).
+
+endif # USB_GADGET_DWC2_OTG
+
+config CI_UDC
+       bool "ChipIdea device controller"
+       select USB_GADGET_DUALSPEED
+       help
+         Say Y here to enable device controller functionality of the
+         ChipIdea driver.
+
 config USB_GADGET_VBUS_DRAW
        int "Maximum VBUS Power usage (2-500 mA)"
        range 2 500
@@ -53,4 +91,31 @@ config USB_GADGET_VBUS_DRAW
           This value will be used except for system-specific gadget
           drivers that have more specific information.
 
+# Selected by UDC drivers that support high-speed operation.
+config USB_GADGET_DUALSPEED
+       bool
+
+config USB_GADGET_DOWNLOAD
+       bool "Enable USB download gadget"
+       help
+         Composite USB download gadget support (g_dnl) for download functions.
+         This code works on top of composite gadget.
+
+if USB_GADGET_DOWNLOAD
+
+config G_DNL_MANUFACTURER
+       string "Vendor name of USB device"
+
+config G_DNL_VENDOR_NUM
+       hex "Vendor ID of USB device"
+
+config G_DNL_PRODUCT_NUM
+       hex "Product ID of USB device"
+
+config USBNET_DEVADDR
+       string "USB Gadget Ethernet device mac address"
+       default "de:ad:be:ef:00:01"
+
+endif # USB_GADGET_DOWNLOAD
+
 endif # USB_GADGET