]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - drivers/usb/chipidea/Kconfig
Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[mirror_ubuntu-focal-kernel.git] / drivers / usb / chipidea / Kconfig
CommitLineData
cae8dc3b
GKH
1# SPDX-License-Identifier: GPL-2.0
2
bc25a80d
AS
3config USB_CHIPIDEA
4 tristate "ChipIdea Highspeed Dual Role Controller"
2c740336 5 depends on ((USB_EHCI_HCD && USB_GADGET) || (USB_EHCI_HCD && !USB_GADGET) || (!USB_EHCI_HCD && USB_GADGET)) && HAS_DMA
3ecb3e09 6 select EXTCON
1b8fc5a5 7 select RESET_CONTROLLER
a930d8bd 8 select USB_ULPI_BUS
bc25a80d 9 help
71a5e61b 10 Say Y here if your system has a dual role high speed USB
fb67cb00
PC
11 controller based on ChipIdea silicon IP. It supports:
12 Dual-role switch (ID, OTG FSM, sysfs), Host-only, and
13 Peripheral-only.
bc25a80d 14
2a53e060 15 When compiled dynamically, the module will be called ci_hdrc.ko.
e443b333
AS
16
17if USB_CHIPIDEA
18
d728189d
AS
19config USB_CHIPIDEA_OF
20 tristate
21 depends on OF
22 default USB_CHIPIDEA
23
24config USB_CHIPIDEA_PCI
25 tristate
2c93e790 26 depends on USB_PCI
db7869ca 27 depends on NOP_USB_XCEIV
d728189d
AS
28 default USB_CHIPIDEA
29
e443b333
AS
30config USB_CHIPIDEA_UDC
31 bool "ChipIdea device controller"
a0cfdc6b 32 depends on USB_GADGET
e443b333
AS
33 help
34 Say Y here to enable device controller functionality of the
35 ChipIdea driver.
36
eb70e5ab
AS
37config USB_CHIPIDEA_HOST
38 bool "ChipIdea host controller"
a0cfdc6b 39 depends on USB_EHCI_HCD
ca72ae9b 40 select USB_EHCI_ROOT_HUB_TT
eb70e5ab
AS
41 help
42 Say Y here to enable host controller functionality of the
43 ChipIdea driver.
e443b333 44endif