aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/Kconfig
diff options
context:
space:
mode:
authorJassi Brar <jaswinder.singh@linaro.org>2020-07-29 20:51:27 -0500
committerMarek Vasut <marex@denx.de>2020-09-01 14:47:43 +0200
commit7ed4eac43d672b8f6cefa6bf92fcaacf7dda0f7c (patch)
treef4242d2ced0f12a3ea23f7e7278b6f5ea35a808b /drivers/usb/gadget/Kconfig
parent0ebf9842e56c5b8cb7cb1f990bb452cc14af6225 (diff)
downloadu-boot-7ed4eac43d672b8f6cefa6bf92fcaacf7dda0f7c.tar.gz
usb: max3420: add the gadget driver
MAX3420 implements FullSpeed USB Device over SPI. Another version MAX3421, also implements USB Host mode. This driver should be good for the device mode of max3421 as well. Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r--drivers/usb/gadget/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 46aa3fe9543..7c0df5c264d 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -105,6 +105,12 @@ config CI_UDC
Say Y here to enable device controller functionality of the
ChipIdea driver.
+config USB_GADGET_MAX3420
+ bool "MAX3420 USB Over SPI"
+ depends on DM_SPI
+ help
+ MAX3420, from MAXIM, implements USB-over-SPI Full-Speed device controller.
+
config USB_GADGET_VBUS_DRAW
int "Maximum VBUS Power usage (2-500 mA)"
range 2 500