[PATCH] usb: gadget: ether: Handle gadget driver registration in start and stop

Marek Vasut marex at denx.de
Tue Aug 20 19:12:00 CEST 2024


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 at ffe09000/usb at 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

Yeah ... I wonder if we want an 'udc' command ?


More information about the U-Boot mailing list