Kconfig 1.0 KB
Newer Older
1 2
config USB_CHIPIDEA
	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 8 9
	  controller based on ChipIdea silicon IP. It supports:
	  Dual-role switch (ID, OTG FSM, sysfs), Host-only, and
	  Peripheral-only.
10 11

	  When compiled dynamically, the module will be called ci-hdrc.ko.
12 13 14

if USB_CHIPIDEA

15 16 17 18 19 20 21 22
config USB_CHIPIDEA_OF
	tristate
	depends on OF
	default USB_CHIPIDEA

config USB_CHIPIDEA_PCI
	tristate
	depends on PCI
23
	depends on NOP_USB_XCEIV
24 25
	default USB_CHIPIDEA

26 27
config USB_CHIPIDEA_UDC
	bool "ChipIdea device controller"
28
	depends on USB_GADGET
29 30 31 32
	help
	  Say Y here to enable device controller functionality of the
	  ChipIdea driver.

33 34
config USB_CHIPIDEA_HOST
	bool "ChipIdea host controller"
35
	depends on USB_EHCI_HCD
36
	select USB_EHCI_ROOT_HUB_TT
37 38 39 40
	help
	  Say Y here to enable host controller functionality of the
	  ChipIdea driver.

41
endif