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