[U-Boot] [PATCH RFC V1 08/18] usb: gadget: mv_udc: add MX6Q specific reset

Troy Kisky troy.kisky at boundarydevices.com
Tue Jul 16 22:47:36 CEST 2013


Signed-off-by: Troy Kisky <troy.kisky at boundarydevices.com>

---
	I don't know if this is needed, but it doesn't hurt.
---
 drivers/usb/gadget/mv_udc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/usb/gadget/mv_udc.c b/drivers/usb/gadget/mv_udc.c
index 5ab4656..033a9f1 100644
--- a/drivers/usb/gadget/mv_udc.c
+++ b/drivers/usb/gadget/mv_udc.c
@@ -392,6 +392,9 @@ static int mv_pullup(struct usb_gadget *gadget, int is_on)
 		/* RESET */
 		writel(USBCMD_ITC(MICRO_8FRAME) | USBCMD_RST, &udc->usbcmd);
 		udelay(200);
+#if defined(CONFIG_MX6Q) || defined(CONFIG_MX6DL)
+		reset_usb_phy1();
+#endif
 
 		writel((unsigned) epts, &udc->epinitaddr);
 
-- 
1.8.1.2



More information about the U-Boot mailing list