summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/dwc3-generic.c
diff options
context:
space:
mode:
authorSherry Sun <sherry.sun@nxp.com>2019-07-23 15:21:57 -0400
committerYe Li <ye.li@nxp.com>2020-04-26 23:36:22 -0700
commite2fb7d0a618680c78d4254335fd109bf372ac889 (patch)
tree9edc41d66ea84111e0b638040b98655aa5fa879e /drivers/usb/dwc3/dwc3-generic.c
parent5b9138585b9d6bbbe356164721ae31e6715c0893 (diff)
MLK-22336-1 usb: ci_udc: Convert driver to DM_USB_GADGET
Convert the ci_udc driver to driver model by using the uclass UCLASS_USB_GADGET_GENERIC. The clk and power of USB controller and USB PHY both are initialized by parsing the device tree nodes. If CONFIG_DM_USB_GADGET is defined, we use the ci_udc driver in DM way, if it does not defined, we can use ci_udc driver in its original Non-DM way. Move some USB PHY register definitions from ehci-mx6.c to asm/mach-imx/regs-usbphy.h in order to share with DM usb gadget driver. Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 5c50d6bd6fda34827a27387e42c9a803da40b1e5)
Diffstat (limited to 'drivers/usb/dwc3/dwc3-generic.c')
0 files changed, 0 insertions, 0 deletions