usb: chipidea: fix and improve dependencies if usb host or gadget support is built...
[pandora-kernel.git] / drivers / usb / chipidea / Kconfig
1 config USB_CHIPIDEA
2         tristate "ChipIdea Highspeed Dual Role Controller"
3         depends on USB || USB_GADGET
4         help
5           Say Y here if your system has a dual role high speed USB
6           controller based on ChipIdea silicon IP. Currently, only the
7           peripheral mode is supported.
8
9           When compiled dynamically, the module will be called ci-hdrc.ko.
10
11 if USB_CHIPIDEA
12
13 config USB_CHIPIDEA_UDC
14         bool "ChipIdea device controller"
15         depends on USB_GADGET=y || USB_GADGET=USB_CHIPIDEA
16         select USB_GADGET_DUALSPEED
17         help
18           Say Y here to enable device controller functionality of the
19           ChipIdea driver.
20
21 config USB_CHIPIDEA_HOST
22         bool "ChipIdea host controller"
23         depends on USB=y || USB=USB_CHIPIDEA
24         select USB_EHCI_ROOT_HUB_TT
25         help
26           Say Y here to enable host controller functionality of the
27           ChipIdea driver.
28
29 config USB_CHIPIDEA_DEBUG
30         bool "ChipIdea driver debug"
31         help
32           Say Y here to enable debugging output of the ChipIdea driver.
33
34 endif