Skip to contentSkip to conversation

drivers: usb: Introduce FSL_USB2_PHY_UTMI_DUAL for usb gadget

PATCH New Tiago Brusamarello 1 participant 1 message May 17, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 drivers: usb: Introduce FSL_USB2_PHY_UTMI_DUAL for usb gadget

From: Nikhil Badola <[email protected]>

Introduce FSL_USB2_PHY_UTMI_DUAL in gadget driver for setting phy in SOCs with utmi dual phy

---

Changes since v2:
* Reformatted the patch so it can be applied in the main tree

Changes since v1:
* Removed Freescale internal information from commit message

 drivers/usb/gadget/udc/fsl_udc_core.c | 1 +
 1 file changed, 1 insertion(+)
drivers/usb/gadget/udc/fsl_udc_core.c +1 -0
index 56b517a38865..a3c092b4db20 100644
@@ -253,6 +253,7 @@ static int dr_controller_setup(struct fsl_udc *udc)
 		portctrl |= PORTSCX_PTW_16BIT;
 		/* fall through */
 	case FSL_USB2_PHY_UTMI:
+	case FSL_USB2_PHY_UTMI_DUAL:
 		if (udc->pdata->have_sysif_regs) {
 			if (udc->pdata->controller_ver) {
 				/* controller version 1.6 or above */