hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/usb/gadget/udc/Kconfig
....@@ -45,7 +45,8 @@
4545
4646 config USB_LPC32XX
4747 tristate "LPC32XX USB Peripheral Controller"
48
- depends on ARCH_LPC32XX && I2C
48
+ depends on ARCH_LPC32XX || COMPILE_TEST
49
+ depends on I2C
4950 select USB_ISP1301
5051 help
5152 This option selects the USB device controller in the LPC32xx SoC.
....@@ -119,10 +120,10 @@
119120 dynamically linked module called "fotg210_udc".
120121
121122 config USB_GR_UDC
122
- tristate "Aeroflex Gaisler GRUSBDC USB Peripheral Controller Driver"
123
- depends on HAS_DMA
124
- help
125
- Select this to support Aeroflex Gaisler GRUSBDC cores from the GRLIB
123
+ tristate "Aeroflex Gaisler GRUSBDC USB Peripheral Controller Driver"
124
+ depends on HAS_DMA
125
+ help
126
+ Select this to support Aeroflex Gaisler GRUSBDC cores from the GRLIB
126127 VHDL IP core library.
127128
128129 config USB_OMAP
....@@ -310,7 +311,7 @@
310311
311312 config USB_AMD5536UDC
312313 tristate "AMD5536 UDC"
313
- depends on USB_PCI
314
+ depends on USB_PCI && HAS_DMA
314315 select USB_SNP_CORE
315316 help
316317 The AMD5536 UDC is part of the AMD Geode CS5536, an x86 southbridge.
....@@ -441,6 +442,27 @@
441442 dynamically linked module called "udc-xilinx" and force all
442443 gadget drivers to also be dynamically linked.
443444
445
+config USB_MAX3420_UDC
446
+ tristate "MAX3420 (USB-over-SPI) support"
447
+ depends on SPI
448
+ help
449
+ The Maxim MAX3420 chip supports USB2.0 full-speed peripheral mode.
450
+ The MAX3420 is run by SPI interface, and hence the dependency.
451
+
452
+ To compile this driver as a module, choose M here: the module will
453
+ be called max3420_udc
454
+
455
+config USB_TEGRA_XUDC
456
+ tristate "NVIDIA Tegra Superspeed USB 3.0 Device Controller"
457
+ depends on ARCH_TEGRA || COMPILE_TEST
458
+ depends on PHY_TEGRA_XUSB
459
+ help
460
+ Enables NVIDIA Tegra USB 3.0 device mode controller driver.
461
+
462
+ Say "y" to link the driver statically, or "m" to build a
463
+ dynamically linked module called "tegra_xudc" and force all
464
+ gadget drivers to also be dynamically linked.
465
+
444466 source "drivers/usb/gadget/udc/aspeed-vhub/Kconfig"
445467
446468 #
....@@ -453,7 +475,7 @@
453475 help
454476 This host controller driver emulates USB, looping all data transfer
455477 requests back to a USB "gadget driver" in the same host. The host
456
- side is the master; the gadget side is the slave. Gadget drivers
478
+ side is the controller; the gadget side is the device. Gadget drivers
457479 can be high, full, or low speed; and they have access to endpoints
458480 like those from NET2280, PXA2xx, or SA1100 hardware.
459481