mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-17 07:28:51 +09:00
![Mateusz Kulikowski](/assets/img/avatar_default.png)
This driver is able to reconfigure OTG controller into HOST mode. Board can add board-specific initialization as board_prepare_usb(). It requires USB_ULPI_VIEWPORT enabled in board configuration. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Acked-by: Marek Vasut <marex@denx.de> Tested-by: Simon Glass <sjg@chromium.org>
97 lines
2.6 KiB
Plaintext
97 lines
2.6 KiB
Plaintext
#
|
|
# USB Host Controller Drivers
|
|
#
|
|
comment "USB Host Controller Drivers"
|
|
|
|
config USB_XHCI_HCD
|
|
bool "xHCI HCD (USB 3.0) support"
|
|
---help---
|
|
The eXtensible Host Controller Interface (xHCI) is standard for USB 3.0
|
|
"SuperSpeed" host controller hardware.
|
|
|
|
config USB_XHCI
|
|
bool
|
|
default USB_XHCI_HCD
|
|
---help---
|
|
TODO: rename after most boards switch to Kconfig
|
|
|
|
if USB_XHCI_HCD
|
|
|
|
config USB_XHCI_UNIPHIER
|
|
bool "Support for UniPhier on-chip xHCI USB controller"
|
|
depends on ARCH_UNIPHIER
|
|
default y
|
|
---help---
|
|
Enables support for the on-chip xHCI controller on UniPhier SoCs.
|
|
|
|
endif
|
|
|
|
config USB_OHCI_GENERIC
|
|
bool "Support for generic OHCI USB controller"
|
|
depends on OF_CONTROL
|
|
depends on DM_USB
|
|
default n
|
|
---help---
|
|
Enables support for generic OHCI controller.
|
|
|
|
config USB_EHCI_HCD
|
|
bool "EHCI HCD (USB 2.0) support"
|
|
---help---
|
|
The Enhanced Host Controller Interface (EHCI) is standard for USB 2.0
|
|
"high speed" (480 Mbit/sec, 60 Mbyte/sec) host controller hardware.
|
|
If your USB host controller supports USB 2.0, you will likely want to
|
|
configure this Host Controller Driver.
|
|
|
|
EHCI controllers are packaged with "companion" host controllers (OHCI
|
|
or UHCI) to handle USB 1.1 devices connected to root hub ports. Ports
|
|
will connect to EHCI if the device is high speed, otherwise they
|
|
connect to a companion controller. If you configure EHCI, you should
|
|
probably configure the OHCI (for NEC and some other vendors) USB Host
|
|
Controller Driver or UHCI (for Via motherboards) Host Controller
|
|
Driver too.
|
|
|
|
You may want to read <file:Documentation/usb/ehci.txt>.
|
|
|
|
config USB_EHCI
|
|
bool
|
|
default USB_EHCI_HCD
|
|
---help---
|
|
TODO: rename after most boards switch to Kconfig
|
|
|
|
if USB_EHCI_HCD
|
|
|
|
config USB_EHCI_MARVELL
|
|
bool "Support for MVEBU (AXP / A38x) on-chip EHCI USB controller"
|
|
depends on ARCH_MVEBU
|
|
default y
|
|
---help---
|
|
Enables support for the on-chip EHCI controller on MVEBU SoCs.
|
|
|
|
config USB_EHCI_MX6
|
|
bool "Support for i.MX6 on-chip EHCI USB controller"
|
|
depends on ARCH_MX6
|
|
default y
|
|
---help---
|
|
Enables support for the on-chip EHCI controller on i.MX6 SoCs.
|
|
|
|
config USB_EHCI_MSM
|
|
bool "Support for Qualcomm on-chip EHCI USB controller"
|
|
depends on DM_USB
|
|
select USB_ULPI_VIEWPORT
|
|
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_GENERIC
|
|
bool "Support for generic EHCI USB controller"
|
|
depends on OF_CONTROL
|
|
depends on DM_USB
|
|
default n
|
|
---help---
|
|
Enables support for generic EHCI controller.
|
|
|
|
endif
|