]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: gadget: usbhs: Add Renesas USBHS device driver
authorVitaliy Vasylskyy <vitaliy.vasylskyy@globallogic.com>
Sun, 8 Sep 2024 23:06:24 +0000 (01:06 +0200)
committerMattijs Korpershoek <mkorpershoek@baylibre.com>
Tue, 1 Oct 2024 14:21:29 +0000 (16:21 +0200)
commit50bb758c1e3424d9e1925588c9269b24418c2e04
tree4780a0d657e0d6ec28f8ed6d5cad8fe7349030e1
parent3af5b851b4c66c63ad0036d4a10ea5b67e7827a1
usb: gadget: usbhs: Add Renesas USBHS device driver

Add UDC driver for Renesas USBHS controller found in R-Car Gen3 SoCs.
This is mostly ported from the Linux kernel, with additional porting
glue. The code has been synchronized with 1b4861e32e46 ("Linux 6.9.3")
and cleaned up and ported to DM since the original implementation by
Vitaliy.

Signed-off-by: Vitaliy Vasylskyy <vitaliy.vasylskyy@globallogic.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Link: https://lore.kernel.org/r/20240908230654.286062-1-marek.vasut+renesas@mailbox.org
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
13 files changed:
drivers/usb/gadget/Kconfig
drivers/usb/gadget/Makefile
drivers/usb/gadget/rcar/Makefile [new file with mode: 0644]
drivers/usb/gadget/rcar/common.c [new file with mode: 0644]
drivers/usb/gadget/rcar/common.h [new file with mode: 0644]
drivers/usb/gadget/rcar/fifo.c [new file with mode: 0644]
drivers/usb/gadget/rcar/fifo.h [new file with mode: 0644]
drivers/usb/gadget/rcar/mod.c [new file with mode: 0644]
drivers/usb/gadget/rcar/mod.h [new file with mode: 0644]
drivers/usb/gadget/rcar/mod_gadget.c [new file with mode: 0644]
drivers/usb/gadget/rcar/pipe.c [new file with mode: 0644]
drivers/usb/gadget/rcar/pipe.h [new file with mode: 0644]
drivers/usb/gadget/rcar/renesas_usb.h [new file with mode: 0644]