# SPDX-License-Identifier: GPL-2.0 config [31mCONFIG_USB_ROLE_SWITCH[0m tristate "USB Role Switch Support" help [31mCONFIG_USB[0m Role Switch is a device that can select the [31mCONFIG_USB[0m role - host or device - for a [31mCONFIG_USB[0m port (connector). In most cases dual-role capable [31mCONFIG_USB[0m controller will also represent the switch, but on some platforms multiplexer/demultiplexer switch is used to route the data lines on the [31mCONFIG_USB[0m connector between separate [31mCONFIG_USB[0m host and device controllers. Say Y here if your [31mCONFIG_USB[0m connectors support both device and host roles. To compile the driver as module, choose [31mCONFIG_M[0m here: the module will be called roles.ko. if [31mCONFIG_USB_ROLE_SWITCH[0m config [31mCONFIG_USB_ROLES_INTEL_XHCI[0m tristate "Intel XHCI USB Role Switch" depends on [31mCONFIG_ACPI[0m && [31mCONFIG_X86[0m help Driver for the internal [31mCONFIG_USB[0m role switch for switching the [31mCONFIG_USB[0m data lines between the xHCI host controller and the dwc3 gadget controller found on various Intel SoCs. To compile the driver as a module, choose [31mCONFIG_M[0m here: the module will be called intel-xhci-usb-role-switch. endif # [31mCONFIG_USB_ROLE_SWITCH[0m |