On 8/7/26 12:27 PM, Carlo Caione wrote:
On Thu Aug 6, 2026 at 8:05 PM CEST, Marek Vasut wrote:
On 8/6/26 2:54 PM, Carlo Caione wrote:
[...]
+++ b/drivers/usb/mtu3/Kconfig
@@ -42,3 +42,23 @@ config USB_MTU3_DEBUG
Say Y here to enable debugging messages in the MTU3 Driver.
endif
+
+config SPL_USB_MTU3
+ bool "MediaTek USB3 controller support in SPL"
+ depends on ARCH_MEDIATEK
+ depends on SPL_DM_USB_GADGET && SPL_USB_GADGET
+ help
+ Enable the MediaTek USB3 controller in SPL. The SPL driver currently
+ supports peripheral mode only.
+
+if SPL_USB_MTU3
+
+config SPL_USB_MTU3_GADGET
+ bool "Gadget mode in SPL"
+ default y
+ select USB_GADGET_DUALSPEED
+ help
+ Enable the MTU3 peripheral controller in SPL so USB gadget
+ functions can use it before U-Boot proper starts.
HOST seems to be missing here ?
Damn it, that was lost during the patch splitting. Thanks for spotting
that, shame on me.
v7 coming, cheers.
Thank you !