GNU Linux-libre 4.9.283-gnu1
[releases.git] / drivers / usb / chipidea / Kconfig
1 config USB_CHIPIDEA
2         tristate "ChipIdea Highspeed Dual Role Controller"
3         depends on ((USB_EHCI_HCD && USB_GADGET) || (USB_EHCI_HCD && !USB_GADGET) || (!USB_EHCI_HCD && USB_GADGET)) && HAS_DMA
4         select EXTCON
5         help
6           Say Y here if your system has a dual role high speed USB
7           controller based on ChipIdea silicon IP. It supports:
8           Dual-role switch (ID, OTG FSM, sysfs), Host-only, and
9           Peripheral-only.
10
11           When compiled dynamically, the module will be called ci-hdrc.ko.
12
13 if USB_CHIPIDEA
14
15 config USB_CHIPIDEA_OF
16         tristate
17         depends on OF
18         default USB_CHIPIDEA
19
20 config USB_CHIPIDEA_PCI
21         tristate
22         depends on PCI
23         depends on NOP_USB_XCEIV
24         default USB_CHIPIDEA
25
26 config USB_CHIPIDEA_UDC
27         bool "ChipIdea device controller"
28         depends on USB_GADGET
29         help
30           Say Y here to enable device controller functionality of the
31           ChipIdea driver.
32
33 config USB_CHIPIDEA_HOST
34         bool "ChipIdea host controller"
35         depends on USB_EHCI_HCD
36         select USB_EHCI_ROOT_HUB_TT
37         help
38           Say Y here to enable host controller functionality of the
39           ChipIdea driver.
40
41 endif