Hi Folks, I have been working on an emulation of the dwc-otg USB controller (host mode only for now), as implemented on the Raspberry Pi 3 and below, and on numerous other embedded platforms. I have it to a point where it works pretty well with the dwc2 driver in the mainline Linux kernel, and with the dwc-otg driver in the Raspbian kernel. Mouse and keyboard work fine, and I *think* the usb-net device is working too, although I have been unsuccessful in connecting to the outside world with it.
I haven't done anything with gadget-mode yet, but that could certainly be added in the future. Would there be any interest in me submitting this for inclusion in Qemu? I ask because I see there was a previous effort at this at github.com/0xabu/qemu/hw/usb/bcm2835_usb.c, but it seems it never went anywhere. Thanks, Paul