From: Nikhil Badola Date: Thu, 17 May 2018 21:28:37 +0000 (-0300) Subject: usb: gadget: fsl: Introduce FSL_USB2_PHY_UTMI_DUAL for usb gadget X-Git-Tag: v4.18-rc1~136^2~81^2~16 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=431d93c20558abe255c6a1a5db150a2f2bc3dadd;p=linux.git 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: Li Yang Signed-off-by: Nikhil Badola Tested-by: Tiago Brusamarello Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c b/drivers/usb/gadget/udc/fsl_udc_core.c index 56b517a38865..a3c092b4db20 100644 --- a/drivers/usb/gadget/udc/fsl_udc_core.c +++ b/drivers/usb/gadget/udc/fsl_udc_core.c @@ -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 */