On 7/23/26 11:09 AM, Romain Gantois wrote:
From: Herve Codina <[email protected]>
Add support for the Renesas USBF controller. This is an USB2.0 UDC
controller available in the RZ/N1 SoC.
This driver was originally written by Hervé Codina for the Linux kernel.
Linux revision this was ported from:
74851fbb6d64 ("usb: gadget: renesas_usbf: Handle devm_pm_runtime_enable()
errors")
The following features were removed to reduce the memory footprint of the
driver, and to avoid including features not relevant to U-Boot:
- Suspend/resume
- Handling of endpoints > 2
The code seems to handle 3 endpoints ?
+/* Only handle the first three endpoints for now. This is sufficient to
+ * expose classic bootloader gadgets such as Fastboot or DFU.
+ */
+#define USBF_NUM_ENDPOINTS 3
But why not handle the additional endpoints ?
Also, can you test whether 'ums 0 mmc 0.1,0.2,0' works to expose eMMC HW
BOOT partitions and HW USER partition as three separate UMS devices over
the same USB connection ?
The rest looks good, thank you !