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