2019-01-17 11:23:50 +03:00
# SPDX-License-Identifier: GPL-2.0
2012-05-11 18:25:45 +04:00
config USB_CHIPIDEA
tristate "ChipIdea Highspeed Dual Role Controller"
2013-09-17 08:37:25 +04:00
depends on ((USB_EHCI_HCD && USB_GADGET) || (USB_EHCI_HCD && !USB_GADGET) || (!USB_EHCI_HCD && USB_GADGET)) && HAS_DMA
2015-09-07 14:45:25 +03:00
select EXTCON
2016-12-29 01:57:05 +03:00
select RESET_CONTROLLER
2018-07-04 16:09:58 +03:00
select USB_ULPI_BUS
2019-08-26 13:25:12 +03:00
select USB_ROLE_SWITCH
2020-01-06 04:34:14 +03:00
select USB_TEGRA_PHY if ARCH_TEGRA
2012-05-11 18:25:45 +04:00
help
2012-07-20 11:33:45 +04:00
Say Y here if your system has a dual role high speed USB
2016-06-16 10:41:40 +03:00
controller based on ChipIdea silicon IP. It supports:
Dual-role switch (ID, OTG FSM, sysfs), Host-only, and
Peripheral-only.
2012-05-11 18:25:45 +04:00
2017-10-24 13:15:50 +03:00
When compiled dynamically, the module will be called ci_hdrc.ko.
2012-05-11 18:25:46 +04:00
if USB_CHIPIDEA
config USB_CHIPIDEA_UDC
bool "ChipIdea device controller"
2013-08-14 13:43:58 +04:00
depends on USB_GADGET
2012-05-11 18:25:46 +04:00
help
Say Y here to enable device controller functionality of the
ChipIdea driver.
2012-05-11 18:25:54 +04:00
config USB_CHIPIDEA_HOST
bool "ChipIdea host controller"
2013-08-14 13:43:58 +04:00
depends on USB_EHCI_HCD
2012-07-07 18:56:43 +04:00
select USB_EHCI_ROOT_HUB_TT
2012-05-11 18:25:54 +04:00
help
Say Y here to enable host controller functionality of the
ChipIdea driver.
2020-04-04 03:00:06 +03:00
config USB_CHIPIDEA_PCI
tristate "Enable PCI glue driver" if EMBEDDED
depends on USB_PCI
depends on NOP_USB_XCEIV
default USB_CHIPIDEA
config USB_CHIPIDEA_MSM
tristate "Enable MSM hsusb glue driver" if EMBEDDED
default USB_CHIPIDEA
config USB_CHIPIDEA_IMX
tristate "Enable i.MX USB glue driver" if EMBEDDED
depends on OF
default USB_CHIPIDEA
config USB_CHIPIDEA_GENERIC
tristate "Enable generic USB2 glue driver" if EMBEDDED
default USB_CHIPIDEA
config USB_CHIPIDEA_TEGRA
tristate "Enable Tegra UDC glue driver" if EMBEDDED
depends on OF
depends on USB_CHIPIDEA_UDC
default USB_CHIPIDEA
2012-05-11 18:25:46 +04:00
endif