Kconfig 1.0 KB

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