[PATCH v2 4/5] dt-bindings: usb-xhci: Add platform specific compatible for Stingray xHCI

2019-07-31 Thread Srinath Mannam
Add Platform specific compatible, because xHCI of this SoC has an issue with HS port which has to reset on disconnect event. Signed-off-by: Srinath Mannam --- Documentation/devicetree/bindings/usb/usb-xhci.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings

[PATCH v2 0/4] Reset xHCI port PHY on disconnect

2019-07-31 Thread Srinath Mannam
emoved usb-phy-port-reset DT property. - Added quirk in platform data using HCI compatible string. - Add phy ports in phy attr structure to have enabled ports bitmask. - Modified #phy-cells of sr-phy to pass phy ports bitmask. Srinath Mannam (4): phy: Add phy ports in attrs dt-bin

[PATCH v2 5/5] drivers: xhci: Add quirk to reset xHCI port PHY

2019-07-31 Thread Srinath Mannam
NNECT quirk is introduced with xhci_plat_brcm_sr platform data. New quirks parameter added in xhci_plat_priv structure to assign platform specific quirks. Signed-off-by: Srinath Mannam --- drivers/usb/core/hcd.c | 6 ++ drivers/usb/core/phy.c | 19 +++ drivers/usb

[PATCH v2 3/5] phy: sr-usb: Set phy ports

2019-07-31 Thread Srinath Mannam
set phy ports value in xlate handler which is taken from second argument of PHY phandle. Signed-off-by: Srinath Mannam --- drivers/phy/broadcom/phy-bcm-sr-usb.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/phy/broadcom/phy-bcm-sr-usb.c b/drivers/phy

[PATCH v2 2/5] dt-bindings: phy: Modify Stingray USB PHY #phy-cells

2019-07-31 Thread Srinath Mannam
Increase #phy-cells from 1 to 2 to have bitmask of PHY enabled ports. Signed-off-by: Srinath Mannam --- .../devicetree/bindings/phy/brcm,stingray-usb-phy.txt | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/brcm

[PATCH v2 1/5] phy: Add phy ports in attrs

2019-07-31 Thread Srinath Mannam
Add phy ports bitmask to contain enabled PHY ports. set and get APIs added to set and get phy ports value. Signed-off-by: Srinath Mannam --- include/linux/phy/phy.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index 15032f14

Re: [PATCH 1/2] dt-bindings: usb-xhci: Add usb-phy-port-reset property

2019-02-27 Thread Srinath Mannam
Hi Rob, Thanks for the information. Please find my comments below. Regards, Srinath. On Tue, Feb 26, 2019 at 11:33 PM Rob Herring wrote: > > On Mon, Feb 25, 2019 at 10:57 PM Srinath Mannam > wrote: > > > > Hi Rob, > > Thanks for the review, Please see my comments bel

Re: [PATCH 1/2] dt-bindings: usb-xhci: Add usb-phy-port-reset property

2019-02-25 Thread Srinath Mannam
Hi Rob, Thanks for the review, Please see my comments below in line. Regards, Srinath. On Tue, Feb 26, 2019 at 3:08 AM Rob Herring wrote: > > On Tue, Feb 05, 2019 at 11:48:53AM +0530, Srinath Mannam wrote: > > Add usb-phy-port-reset optional property to set quirk in xhci platfor

Re: [PATCH 2/2] drivers: xhci: Add quirk to reset xHCI port PHY

2019-02-08 Thread Srinath Mannam
Hi Mathias, Thanks for comments, Please find my comments below inline. On Fri, Feb 8, 2019 at 6:00 PM Mathias Nyman wrote: > > On 07.02.2019 17:17, Srinath Mannam wrote: > > Hi Mathias, > > > > Thanks for review, please see my comments below inline. > > >

Re: [PATCH 2/2] drivers: xhci: Add quirk to reset xHCI port PHY

2019-02-07 Thread Srinath Mannam
Hi Mathias, Thanks for review, please see my comments below inline. On Thu, Feb 7, 2019 at 8:32 PM Mathias Nyman wrote: > > On 05.02.2019 08:18, Srinath Mannam wrote: > > Add a quirk to reset xHCI port PHY on port disconnect event. > > Stingray USB HS PHY has an issue, t

[PATCH 1/2] dt-bindings: usb-xhci: Add usb-phy-port-reset property

2019-02-04 Thread Srinath Mannam
Add usb-phy-port-reset optional property to set quirk in xhci platform driver which forces USB port PHY reset on port disconnect event. Signed-off-by: Srinath Mannam Reviewed-by: Ray Jui --- Documentation/devicetree/bindings/usb/usb-xhci.txt | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH 2/2] drivers: xhci: Add quirk to reset xHCI port PHY

2019-02-04 Thread Srinath Mannam
Add a quirk to reset xHCI port PHY on port disconnect event. Stingray USB HS PHY has an issue, that USB High Speed device detected at Full Speed after the same port has connected to Full speed device. This problem can be resolved with that port PHY reset on disconnect. Signed-off-by: Srinath

[PATCH 0/2] Reset xHCI port PHY on disconnect

2019-02-04 Thread Srinath Mannam
This patch set adds a quirk in xHCI driver to reset PHY of xHCI port on its disconnect event. This patch set is based on Linux-5.0-rc2. Srinath Mannam (2): dt-bindings: usb-xhci: Add usb-phy-port-reset property drivers: xhci: Add quirk to reset xHCI port PHY Documentation/devicetree

Re: Need PHY reset after USB device disconnected

2017-08-10 Thread Srinath Mannam
Hi Mathias, Please provide your suggestions to resolve this. Thank you. Regards, Srinath. On Thu, Aug 3, 2017 at 11:42 PM, Srinath Mannam wrote: > Hi Mathias, > > In our SOC, xHCI controller has three ports. In that one is SS and two > HS ports, all ports are connected with

Need PHY reset after USB device disconnected

2017-08-03 Thread Srinath Mannam
Hi Mathias, In our SOC, xHCI controller has three ports. In that one is SS and two HS ports, all ports are connected with separate phy controller. We have a bug in HS phy controllers. Because of this bug, HS phy controller needs to reset after disconnected the device in the corresponding HS port.

[PATCH] usb: gadget: bdc: 64-bit pointer capability check

2017-06-15 Thread Srinath Mannam
oller IP BDC") Signed-off-by: Srinath Mannam --- drivers/usb/gadget/udc/bdc/bdc_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/drivers/usb/gadget/udc/bdc/bdc_core.c index ccb9c21..e9bd8d4 100644 --- a/drivers/usb/gadg

Re: [PATCH] usb: xhci-plat: Add generic PHY support

2016-08-29 Thread Srinath Mannam
Hi Mathias Nyman, Could you please provide your inputs on this? If you find it in good condition, please consider it for the next release. Thanks & Regards, Srinath. On Wed, Aug 3, 2016 at 7:03 PM, Srinath Mannam wrote: > Hi Mathias Nyman, > > Please review and provide your co

Re: [PATCH] usb: xhci-plat: Add generic PHY support

2016-08-03 Thread Srinath Mannam
Hi Mathias Nyman, Please review and provide your comments to the changes in this patch. Regards, srinath. On Thu, Jul 14, 2016 at 3:29 PM, Felipe Balbi wrote: > > Hi, > > Srinath Mannam writes: >> Generic phy support added in xhci platform driver. >> In the case of m

Re: [PATCH] usb: xhci-plat: Add generic PHY support

2016-07-14 Thread Srinath Mannam
++ Felipe Balbi Thanks & Regards, Srinath Mannam. On Thu, Jul 14, 2016 at 2:03 PM, Srinath Mannam wrote: > Generic phy support added in xhci platform driver. > In the case of multiple phys to the xhci controller, this approach > is helpful to pass multiple phandles to xhci platfor

[PATCH] usb: xhci-plat: Add generic PHY support

2016-07-14 Thread Srinath Mannam
Generic phy support added in xhci platform driver. In the case of multiple phys to the xhci controller, this approach is helpful to pass multiple phandles to xhci platform driver from xhci device node. Signed-off-by: Srinath Mannam Reviewed-by: Ray Jui Reviewed-by: Scott Branden diff --git a