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

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
...@@ -253,6 +253,7 @@ static int dr_controller_setup(struct fsl_udc *udc) ...@@ -253,6 +253,7 @@ static int dr_controller_setup(struct fsl_udc *udc)
portctrl |= PORTSCX_PTW_16BIT; portctrl |= PORTSCX_PTW_16BIT;
/* fall through */ /* fall through */
case FSL_USB2_PHY_UTMI: case FSL_USB2_PHY_UTMI:
case FSL_USB2_PHY_UTMI_DUAL:
if (udc->pdata->have_sysif_regs) { if (udc->pdata->have_sysif_regs) {
if (udc->pdata->controller_ver) { if (udc->pdata->controller_ver) {
/* controller version 1.6 or above */ /* controller version 1.6 or above */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment