Commit 431d93c2 authored by Nikhil Badola's avatar Nikhil Badola Committed by Felipe Balbi
Browse files

usb: gadget: fsl: Introduce FSL_USB2_PHY_UTMI_DUAL for usb gadget



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

Acked-by: default avatarLi Yang <leoyang.li@nxp.com>
Signed-off-by: default avatarNikhil Badola <nikhil.badola@freescale.com>
Tested-by: default avatarTiago Brusamarello <tbrusa@gmail.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent edbbfe19
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 */