diff mbox

[v2,1/1] drivers: usb: Introduce FSL_USB2_PHY_UTMI_DUAL for usb gadget

Message ID CAK-k+bsUP99M9qv6pZwcd=0QqbGcDGY8ymzdbwx-yS5ZF2m0ew@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Tiago Brusamarello April 23, 2018, 2:32 p.m. UTC
Introduce FSL_USB2_PHY_UTMI_DUAL in gadget driver for setting
phy in SOCs with utmi dual phy

Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
Tested-by: Tiago Brusamarello <tbrusa@gmail.com>
---

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

 drivers/usb/gadget/udc/fsl_udc_core.c | 1 +
 1 file changed, 1 insertion(+)

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Felipe Balbi May 15, 2018, 7:14 a.m. UTC | #1
Tiago Brusamarello <tbrusa@gmail.com> writes:

> Introduce FSL_USB2_PHY_UTMI_DUAL in gadget driver for setting
> phy in SOCs with utmi dual phy
>
> Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
> Tested-by: Tiago Brusamarello <tbrusa@gmail.com>

this doesn't apply.
Tiago Brusamarello May 15, 2018, 9:04 p.m. UTC | #2
2018-05-15 4:14 GMT-03:00 Felipe Balbi <felipe.balbi@linux.intel.com>:
>
> Tiago Brusamarello <tbrusa@gmail.com> writes:
>
>> Introduce FSL_USB2_PHY_UTMI_DUAL in gadget driver for setting
>> phy in SOCs with utmi dual phy
>>
>> Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
>> Tested-by: Tiago Brusamarello <tbrusa@gmail.com>
>
> this doesn't apply.

I'll look into it and submit a new version.
diff mbox

Patch

diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c
b/drivers/usb/gadget/udc/fsl_udc_core.c
index 56b517a..a3c092b 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 */