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