Merge git://git.denx.de/u-boot-usb
[platform/kernel/u-boot.git] / drivers / usb / host / Kconfig
index c79f866..2f381dc 100644 (file)
@@ -21,6 +21,21 @@ config USB_XHCI_DWC3
          Say Y or if your system has a Dual Role SuperSpeed
          USB controller based on the DesignWare USB3 IP Core.
 
+config USB_XHCI_DWC3_OF_SIMPLE
+       bool "DesignWare USB3 DRD Generic OF Simple Glue Layer"
+       depends on DM_USB
+       default y if ARCH_ROCKCHIP
+       default y if DRA7XX
+       help
+         Support USB2/3 functionality in simple SoC integrations with
+         USB controller based on the DesignWare USB3 IP Core.
+
+config USB_XHCI_MTK
+       bool "Support for MediaTek on-chip xHCI USB controller"
+       depends on ARCH_MEDIATEK
+       help
+         Enables support for the on-chip xHCI controller on MediaTek SoCs.
+
 config USB_XHCI_MVEBU
        bool "MVEBU USB 3.0 support"
        default y
@@ -64,12 +79,6 @@ config USB_XHCI_STI
          STiH407 family SoCs. This is a driver for the dwc3 to provide the glue logic
          to configure the controller.
 
-config USB_XHCI_ZYNQMP
-       bool "Support for Xilinx ZynqMP on-chip xHCI USB controller"
-       depends on ARCH_ZYNQMP
-       help
-         Enables support for the on-chip xHCI controller on Xilinx ZynqMP SoCs.
-
 config USB_XHCI_DRA7XX_INDEX
        int "DRA7XX xHCI USB index"
        range 0 1
@@ -85,6 +94,14 @@ config USB_XHCI_FSL
        depends on !SPL_NO_USB
        help
          Enables support for the on-chip xHCI controller on NXP Layerscape SoCs.
+
+config USB_XHCI_BRCM
+       bool "Broadcom USB3 Host XHCI controller"
+       depends on DM_USB
+       help
+         USB controller based on the Broadcom USB3 IP Core.
+         Supports USB2/3 functionality.
+
 endif # USB_XHCI_HCD
 
 config USB_EHCI_HCD
@@ -123,9 +140,16 @@ config USB_EHCI_MARVELL
        ---help---
          Enables support for the on-chip EHCI controller on MVEBU SoCs.
 
+config USB_EHCI_MX5
+       bool "Support for i.MX5 on-chip EHCI USB controller"
+       depends on ARCH_MX5
+       default n
+       help
+         Enables support for the on-chip EHCI controller on i.MX5 SoCs.
+
 config USB_EHCI_MX6
-       bool "Support for i.MX6 on-chip EHCI USB controller"
-       depends on ARCH_MX6
+       bool "Support for i.MX6/i.MX7ULP on-chip EHCI USB controller"
+       depends on ARCH_MX6 || ARCH_MX7ULP
        default y
        ---help---
          Enables support for the on-chip EHCI controller on i.MX6 SoCs.
@@ -145,7 +169,14 @@ config USB_EHCI_OMAP
          Enables support for the on-chip EHCI controller on OMAP3 and later
          SoCs.
 
-if USB_EHCI_MX7
+config USB_EHCI_VF
+       bool "Support for Vybrid on-chip EHCI USB controller"
+       depends on ARCH_VF610
+       default y
+       help
+         Enables support for the on-chip EHCI controller on Vybrid SoCs.
+
+if USB_EHCI_MX6 || USB_EHCI_MX7
 
 config MXC_USB_OTG_HACTIVE
        bool "USB Power pin high active"
@@ -158,12 +189,11 @@ config USB_EHCI_MSM
        bool "Support for Qualcomm on-chip EHCI USB controller"
        depends on DM_USB
        select USB_ULPI_VIEWPORT
+       select MSM8916_USB_PHY
        default n
        ---help---
          Enables support for the on-chip EHCI controller on Qualcomm
          Snapdragon SoCs.
-         This driver supports combination of Chipidea USB controller
-         and Synapsys USB PHY in host mode only.
 
 config USB_EHCI_PCI
        bool "Support for PCI-based EHCI USB controller"
@@ -171,6 +201,12 @@ config USB_EHCI_PCI
        help
          Enables support for the PCI-based EHCI controller.
 
+config USB_EHCI_TEGRA
+       bool "Support for NVIDIA Tegra on-chip EHCI USB controller"
+       depends on TEGRA
+       ---help---
+         Enable support for Tegra on-chip EHCI USB controller
+
 config USB_EHCI_ZYNQ
        bool "Support for Xilinx Zynq on-chip EHCI USB controller"
        depends on ARCH_ZYNQ
@@ -182,10 +218,17 @@ config USB_EHCI_GENERIC
        bool "Support for generic EHCI USB controller"
        depends on OF_CONTROL
        depends on DM_USB
+       default ARCH_SUNXI
        default n
        ---help---
          Enables support for generic EHCI controller.
 
+config USB_EHCI_FSL
+       bool  "Support for FSL on-chip EHCI USB controller"
+       default n
+       select  CONFIG_EHCI_HCD_INIT_AFTER_RESET
+       ---help---
+         Enables support for the on-chip EHCI controller on FSL chips.
 endif # USB_EHCI_HCD
 
 config USB_OHCI_HCD
@@ -200,16 +243,29 @@ config USB_OHCI_HCD
          based system where you're not sure, the "lspci -v" entry will list the
          right "prog-if" for your USB controller(s):  EHCI, OHCI, or UHCI.
 
+config USB_OHCI_PCI
+       bool "Support for PCI-based OHCI USB controller"
+       depends on DM_USB
+       default n
+       help
+         Enables support for the PCI-based OHCI controller.
+
 if USB_OHCI_HCD
 
 config USB_OHCI_GENERIC
        bool "Support for generic OHCI USB controller"
        depends on OF_CONTROL
        depends on DM_USB
+       default ARCH_SUNXI
        select USB_HOST
        ---help---
          Enables support for generic OHCI controller.
 
+config USB_OHCI_DA8XX
+       bool "Support for da850 OHCI USB controller"
+       help
+         Enable support for the da850 USB controller.
+
 endif # USB_OHCI_HCD
 
 config USB_UHCI_HCD
@@ -239,3 +295,24 @@ config USB_DWC2
          Hi-Speed (480 Mbps), Full-Speed (12 Mbps), and Low-Speed (1.5 Mbps)
          operation is compliant to the controller Supplement. If you want to
          enable this controller in host mode, say Y.
+
+if USB_DWC2
+config USB_DWC2_BUFFER_SIZE
+       int "Data buffer size in kB"
+       default 64
+       ---help---
+         By default 64 kB buffer is used but if amount of RAM avaialble on
+         the target is not enough to accommodate allocation of buffer of
+         that size it is possible to shrink it. Smaller sizes should be fine
+         because larger transactions could be split in smaller ones.
+
+endif # USB_DWC2
+
+config USB_R8A66597_HCD
+       bool "Renesas R8A66597 USB Core support"
+       depends on OF_CONTROL
+       depends on DM_USB
+       select USB_HOST
+       ---help---
+         This enables support for the on-chip Renesas R8A66597 USB 2.0
+         controller, present in various RZ and SH SoCs.