18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciconfig USB_ROLE_SWITCH
48c2ecf20Sopenharmony_ci	tristate "USB Role Switch Support"
58c2ecf20Sopenharmony_ci	help
68c2ecf20Sopenharmony_ci	  USB Role Switch is a device that can select the USB role - host or
78c2ecf20Sopenharmony_ci	  device - for a USB port (connector). In most cases dual-role capable
88c2ecf20Sopenharmony_ci	  USB controller will also represent the switch, but on some platforms
98c2ecf20Sopenharmony_ci	  multiplexer/demultiplexer switch is used to route the data lines on
108c2ecf20Sopenharmony_ci	  the USB connector between separate USB host and device controllers.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci	  Say Y here if your USB connectors support both device and host roles.
138c2ecf20Sopenharmony_ci	  To compile the driver as module, choose M here: the module will be
148c2ecf20Sopenharmony_ci	  called roles.ko.
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciif USB_ROLE_SWITCH
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciconfig USB_ROLES_INTEL_XHCI
198c2ecf20Sopenharmony_ci	tristate "Intel XHCI USB Role Switch"
208c2ecf20Sopenharmony_ci	depends on ACPI && X86
218c2ecf20Sopenharmony_ci	help
228c2ecf20Sopenharmony_ci	  Driver for the internal USB role switch for switching the USB data
238c2ecf20Sopenharmony_ci	  lines between the xHCI host controller and the dwc3 gadget controller
248c2ecf20Sopenharmony_ci	  found on various Intel SoCs.
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci	  To compile the driver as a module, choose M here: the module will
278c2ecf20Sopenharmony_ci	  be called intel-xhci-usb-role-switch.
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciendif # USB_ROLE_SWITCH
30