On mar., août 20, 2024 at 19:12, Marek Vasut <ma...@denx.de> wrote: > On 8/20/24 7:11 PM, Caleb Connolly wrote: >> >>> Instead, to enable usb ethernet, we should manually bind the UDC driver >>> to the usb_ether gadget. >>> >>> For example, on Khadas VIM3 board, this can be done with: >>> >>> => bind /soc/usb@ffe09000/usb@ff400000 usb_ether >> >> It would be great if this could be done like ums where the UDC index is >> given rather than having to figure out the magic DT path incantation :D >> >> => ums 0 scsi 0,1,2,3,4,5
Agreed, but we don't want to have one U-Boot command per gadget function. > > Yeah ... I wonder if we want an 'udc' command ? This seems like a nice idea. I will give it some more thoughts and look into prototyping something.