summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/Kconfig
blob: 165afdb99d15bcc34dff98b1132581b9393aeca4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
config USB_CDNS3
	tristate "Cadence USB3 Dual-Role Controller"
	depends on ((USB_XHCI_HCD && USB_GADGET) || (USB_XHCI_HCD && !USB_GADGET) || (!USB_XHCI_HCD && USB_GADGET)) && HAS_DMA
	select EXTCON
	help
	  Say Y here if your system has a cadence USB3 dual-role controller.
	  It supports: dual-role switch Host-only, and Peripheral-only.

	  When compiled dynamically, the module will be called cdns3.ko.

if USB_CDNS3

config USB_CDNS3_GADGET
	bool "Cadence USB3 device controller"
	depends on USB_GADGET
	help
	  Say Y here to enable device controller functionality of the
	  cadence usb3 driver.

config USB_CDNS3_HOST
	bool "Cadence USB3 host controller"
	depends on USB_XHCI_HCD
	help
	  Say Y here to enable host controller functionality of the
	  cadence usb3 driver.
endif