dwc2

Dual Role Hi-Speed USB controller based on the DesignWare HSOTG IP Core in many SoCs. dwc2 is an driver which can do OTG host/gadget flip dictated by OTG_SENSE on the USB port.

It can be used for example on Raspberry Pis that have a USB OTG port.