xref: /openbmc/linux/drivers/usb/chipidea/Kconfig (revision ba61bb17)
1config 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	select RESET_CONTROLLER
6	help
7	  Say Y here if your system has a dual role high speed USB
8	  controller based on ChipIdea silicon IP. It supports:
9	  Dual-role switch (ID, OTG FSM, sysfs), Host-only, and
10	  Peripheral-only.
11
12	  When compiled dynamically, the module will be called ci_hdrc.ko.
13
14if USB_CHIPIDEA
15
16config USB_CHIPIDEA_OF
17	tristate
18	depends on OF
19	default USB_CHIPIDEA
20
21config USB_CHIPIDEA_PCI
22	tristate
23	depends on USB_PCI
24	depends on NOP_USB_XCEIV
25	default USB_CHIPIDEA
26
27config USB_CHIPIDEA_UDC
28	bool "ChipIdea device controller"
29	depends on USB_GADGET
30	help
31	  Say Y here to enable device controller functionality of the
32	  ChipIdea driver.
33
34config USB_CHIPIDEA_HOST
35	bool "ChipIdea host controller"
36	depends on USB_EHCI_HCD
37	select USB_EHCI_ROOT_HUB_TT
38	help
39	  Say Y here to enable host controller functionality of the
40	  ChipIdea driver.
41
42config USB_CHIPIDEA_ULPI
43	bool "ChipIdea ULPI PHY support"
44	depends on USB_ULPI_BUS=y || USB_ULPI_BUS=USB_CHIPIDEA
45	help
46	  Say Y here if you have a ULPI PHY attached to your ChipIdea
47	  controller.
48
49endif
50