Merge branch 'master' of git://git.denx.de/u-boot-sunxi
[platform/kernel/u-boot.git] / drivers / usb / host / Kconfig
index 9a67e43..ba1e6bf 100644 (file)
@@ -21,6 +21,14 @@ 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 DRA7XX
+       help
+         Support USB2/3 functionality in simple SoC integrations with
+         USB controller based on the DesignWare USB3 IP Core.
+
 config USB_XHCI_MVEBU
        bool "MVEBU USB 3.0 support"
        default y
@@ -31,16 +39,43 @@ config USB_XHCI_MVEBU
          SoCs, which includes Armada8K, Armada3700 and other Armada
          family SoCs.
 
+config USB_XHCI_PCI
+       bool "Support for PCI-based xHCI USB controller"
+       depends on DM_USB
+       default y if X86
+       help
+         Enables support for the PCI-based xHCI controller.
+
 config USB_XHCI_ROCKCHIP
        bool "Support for Rockchip on-chip xHCI USB controller"
        depends on ARCH_ROCKCHIP
+       depends on DM_REGULATOR
+       depends on DM_USB
        default y
        help
          Enables support for the on-chip xHCI controller on Rockchip SoCs.
 
+config USB_XHCI_RCAR
+       bool "Renesas RCar USB 3.0 support"
+       default y
+       depends on ARCH_RMOBILE
+       help
+         Choose this option to add support for USB 3.0 driver on Renesas
+         RCar Gen3 SoCs.
+
+config USB_XHCI_STI
+       bool "Support for STMicroelectronics STiH407 family on-chip xHCI USB controller"
+       depends on ARCH_STI
+       default y
+       help
+         Enables support for the on-chip xHCI controller on STMicroelectronics
+         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
+       depends on DM_USB
        help
          Enables support for the on-chip xHCI controller on Xilinx ZynqMP SoCs.
 
@@ -53,6 +88,12 @@ config USB_XHCI_DRA7XX_INDEX
          Select the DRA7XX xHCI USB index.
          Current supported values: 0, 1.
 
+config USB_XHCI_FSL
+       bool "Support for NXP Layerscape on-chip xHCI USB controller"
+       default y if ARCH_LS1021A || FSL_LSCH3 || FSL_LSCH2
+       depends on !SPL_NO_USB
+       help
+         Enables support for the on-chip xHCI controller on NXP Layerscape SoCs.
 endif # USB_XHCI_HCD
 
 config USB_EHCI_HCD
@@ -126,12 +167,23 @@ 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"
+       default y if X86
+       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"
@@ -144,10 +196,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
@@ -168,6 +227,7 @@ 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.
@@ -191,3 +251,25 @@ config USB_UHCI_HCD
 if USB_UHCI_HCD
 
 endif # USB_UHCI_HCD
+
+config USB_DWC2
+       bool "DesignWare USB2 Core support"
+       select USB_HOST
+       ---help---
+         The DesignWare USB 2.0 controller is compliant with the
+         USB-Implementers Forum (USB-IF) USB 2.0 specifications.
+         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