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