Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 
0003 config USB_ROLE_SWITCH
0004         tristate "USB Role Switch Support"
0005         help
0006           USB Role Switch is a device that can select the USB role - host or
0007           device - for a USB port (connector). In most cases dual-role capable
0008           USB controller will also represent the switch, but on some platforms
0009           multiplexer/demultiplexer switch is used to route the data lines on
0010           the USB connector between separate USB host and device controllers.
0011 
0012           Say Y here if your USB connectors support both device and host roles.
0013           To compile the driver as module, choose M here: the module will be
0014           called roles.ko.
0015 
0016 if USB_ROLE_SWITCH
0017 
0018 config USB_ROLES_INTEL_XHCI
0019         tristate "Intel XHCI USB Role Switch"
0020         depends on ACPI && X86
0021         help
0022           Driver for the internal USB role switch for switching the USB data
0023           lines between the xHCI host controller and the dwc3 gadget controller
0024           found on various Intel SoCs.
0025 
0026           To compile the driver as a module, choose M here: the module will
0027           be called intel-xhci-usb-role-switch.
0028 
0029 endif # USB_ROLE_SWITCH