Hi there, I've tested this patch and it seems to support the gadget model, but I'm having a lot of USB errors. What device did you test this on?
John. On Thu, Jun 08, 2023 at 01:56:29PM -0600, Sam Edwards wrote: > Happy Thursday, U-Boot list! > > Here is attempt 2 at making this USB controller driver compatible with > DM's gadget model, following what most of the other musb variants do. > > v2 removes the unwanted printfs in the probe func, per feedback from Marek. > I received no other feedback against v1 of this patch. > > Cheers, > Sam > > Sam Edwards (2): > usb: musb-new: sunxi: remove unwanted printfs > usb: musb-new: sunxi: make compatible with UDC/DM gadget model > > drivers/usb/musb-new/sunxi.c | 52 +++++++++++++++++++++--------------- > 1 file changed, 31 insertions(+), 21 deletions(-) > > -- > 2.39.2 >