xref: /linux/drivers/usb/roles/Kconfig (revision 71e2f4dd5a65bd8dbca0b77661e75eea471168f8)
1# SPDX-License-Identifier: GPL-2.0
2
3config USB_ROLE_SWITCH
4	tristate "USB Role Switch Support"
5	help
6	  USB Role Switch is a device that can select the USB role - host or
7	  device - for a USB port (connector). In most cases dual-role capable
8	  USB controller will also represent the switch, but on some platforms
9	  multiplexer/demultiplexer switch is used to route the data lines on
10	  the USB connector between separate USB host and device controllers.
11
12	  Say Y here if your USB connectors support both device and host roles.
13	  To compile the driver as module, choose M here: the module will be
14	  called roles.ko.
15
16if USB_ROLE_SWITCH
17
18config USB_ROLES_INTEL_XHCI
19	tristate "Intel XHCI USB Role Switch"
20	depends on ACPI && X86
21	help
22	  Driver for the internal USB role switch for switching the USB data
23	  lines between the xHCI host controller and the dwc3 gadget controller
24	  found on various Intel SoCs.
25
26	  To compile the driver as a module, choose M here: the module will
27	  be called intel-xhci-usb-role-switch.
28
29endif # USB_ROLE_SWITCH
30