[PATCH 0/1] usb: gadget: udc: fsl: Introduce FSL_USB2_PHY_UTMI_DUAL

2018-04-19 Thread Tiago Brusamarello
Initialization for SoCs with dual role phy is being bypassed since FSL_USB2_PHY_UTMI_DUAL macro is not being evaluated in the FSL gadget driver. In this state a controller configured in peripheral mode will not work as a gadget. This patch addresses this issue. Tested on 4.14.32 using a hardware w

[PATCH v2 0/1] usb: gadget: udc: fsl: Introduce FSL_USB2_PHY_UTMI_DUAL

2018-04-23 Thread Tiago Brusamarello
Initialization for SoCs with dual role phy is being bypassed since FSL_USB2_PHY_UTMI_DUAL macro is not being evaluated in the FSL gadget driver. In this state a controller configured in peripheral mode will not work as a gadget. This patch addresses this issue. Tested on 4.14.32 using a hardware w

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

2018-04-23 Thread Tiago Brusamarello
Introduce FSL_USB2_PHY_UTMI_DUAL in gadget driver for setting phy in SOCs with utmi dual phy Signed-off-by: Nikhil Badola Tested-by: Tiago Brusamarello --- Changes since v1: * Removed Freescale internal information from commit message drivers/usb/gadget/udc/fsl_udc_core.c | 1 + 1 file

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

2018-05-15 Thread Tiago Brusamarello
2018-05-15 4:14 GMT-03:00 Felipe Balbi : > > Tiago Brusamarello writes: > >> Introduce FSL_USB2_PHY_UTMI_DUAL in gadget driver for setting >> phy in SOCs with utmi dual phy >> >> Signed-off-by: Nikhil Badola >> Tested-by: Tiago Brusamarello > > this

[PATCH v3 0/1] usb: gadget: udc: fsl: Introduce FSL_USB2_PHY_UTMI_DUAL

2018-05-17 Thread Tiago Brusamarello
Initialization for SoCs with dual role phy is being bypassed since FSL_USB2_PHY_UTMI_DUAL macro is not being evaluated in the FSL gadget driver. In this state a controller configured in peripheral mode will not work as a gadget. This patch addresses this issue. Tested on 4.14.32 using a hardware w

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

2018-05-17 Thread Tiago Brusamarello
From: Nikhil Badola Introduce FSL_USB2_PHY_UTMI_DUAL in gadget driver for setting phy in SOCs with utmi dual phy Signed-off-by: Nikhil Badola Tested-by: Tiago Brusamarello --- Changes since v2: * Reformatted the patch so it can be applied in the main tree Changes since v1: * Removed