summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/udc/Kconfig
diff options
context:
space:
mode:
authorJassi Brar <jaswinder.singh@linaro.org>2020-01-22 04:04:16 +0100
committerFelipe Balbi <balbi@kernel.org>2020-03-15 10:06:39 +0100
commit48ba02b2e2b1a1c80718e93fefe99c8319597c4a (patch)
tree10ee00c90dbebd0cd35b4f61ac49678b291ee7b7 /drivers/usb/gadget/udc/Kconfig
parentdt-bindings: max3421-udc: add dt bindings for MAX3420 UDC (diff)
downloadlinux-48ba02b2e2b1a1c80718e93fefe99c8319597c4a.tar.xz
linux-48ba02b2e2b1a1c80718e93fefe99c8319597c4a.zip
usb: gadget: add udc driver for max3420
The MAX3420 is USB2.0 only, UDC-over-SPI controller. This driver also supports the peripheral mode of MAX3421. Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/usb/gadget/udc/Kconfig')
-rw-r--r--drivers/usb/gadget/udc/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/usb/gadget/udc/Kconfig b/drivers/usb/gadget/udc/Kconfig
index 797d6ace8994..1ff82285ac7a 100644
--- a/drivers/usb/gadget/udc/Kconfig
+++ b/drivers/usb/gadget/udc/Kconfig
@@ -441,6 +441,16 @@ config USB_GADGET_XILINX
dynamically linked module called "udc-xilinx" and force all
gadget drivers to also be dynamically linked.
+config USB_MAX3420_UDC
+ tristate "MAX3420 (USB-over-SPI) support"
+ depends on SPI
+ help
+ The Maxim MAX3420 chip supports USB2.0 full-speed peripheral mode.
+ The MAX3420 is run by SPI interface, and hence the dependency.
+
+ To compile this driver as a module, choose M here: the module will
+ be called max3420_udc
+
config USB_TEGRA_XUDC
tristate "NVIDIA Tegra Superspeed USB 3.0 Device Controller"
depends on ARCH_TEGRA || COMPILE_TEST