usb: dwc2: convert driver to DM_USB_GADGET
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 29 Mar 2019 14:42:15 +0000 (15:42 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 21 Apr 2019 08:26:51 +0000 (10:26 +0200)
commitc791c8431c34da803fdac4a308999879a6a33834
tree3ff50222babb0f2ac48397729bcc33dba612cb34
parenta812d77617749eeaddfa8b9796b9a2eece1ad2f5
usb: dwc2: convert driver to DM_USB_GADGET

Minimal conversion to driver model by using the uclass
UCLASS_USB_GADGET_GENERIC based on:
- reset uclass
- clock uclass
- generic uclass.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
doc/device-tree-bindings/usb/dwc2.txt [new file with mode: 0644]
drivers/usb/gadget/dwc2_udc_otg.c