usb: dwc3: Add dwc3_init/remove with DM_USB
authorMugunthan V N <mugunthanvnm@ti.com>
Fri, 18 May 2018 11:15:04 +0000 (13:15 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 18 May 2018 11:23:10 +0000 (13:23 +0200)
commit23ba2d6372e45479106922c6241a7a09707bbe08
treeadcd0f130d98ec85c3cc090a1193bedea0c29632
parent3b29121678241078ce08120e18108898ff3b7abd
usb: dwc3: Add dwc3_init/remove with DM_USB

The patch is preparing dwc3 core for enabling DM_USB with peripheral
driver with using driver model support.
The driver will be bound by the DWC3 wrapper driver based on the
dr_mode device tree entry.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
(Remove dwc3-omap changes)
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h
drivers/usb/dwc3/gadget.c