mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 22:44:27 +08:00
cae8dc3b68
There are a few remaining drivers/usb/ files that do not have SPDX identifiers in them, all of these are either Kconfig or Makefiles. Add the correct GPL-2.0 identifier to them to make scanning tools happy. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
config USB_ROLE_SWITCH
|
|
tristate "USB Role Switch Support"
|
|
help
|
|
USB Role Switch is a device that can select the USB role - host or
|
|
device - for a USB port (connector). In most cases dual-role capable
|
|
USB controller will also represent the switch, but on some platforms
|
|
multiplexer/demultiplexer switch is used to route the data lines on
|
|
the USB connector between separate USB host and device controllers.
|
|
|
|
Say Y here if your USB connectors support both device and host roles.
|
|
To compile the driver as module, choose M here: the module will be
|
|
called roles.ko.
|
|
|
|
if USB_ROLE_SWITCH
|
|
|
|
config USB_ROLES_INTEL_XHCI
|
|
tristate "Intel XHCI USB Role Switch"
|
|
depends on ACPI && X86
|
|
help
|
|
Driver for the internal USB role switch for switching the USB 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 M here: the module will
|
|
be called intel-xhci-usb-role-switch.
|
|
|
|
endif # USB_ROLE_SWITCH
|