Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature

2018-10-01 Thread Artur Petrosyan
Hi John, On 9/28/2018 22:33, John Stultz wrote: > On Thu, Sep 27, 2018 at 5:33 AM, Artur Petrosyan > wrote: >> We would like to buy the HiKey board to perform testes. >> We found this HiKey LeMaker to have USB 2.0 ports >> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ebay.com_itm_HiKe

Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature

2018-09-30 Thread Artur Petrosyan
<mailto:arthur.petros...@synopsys.com>> wrote: > >>> Just a clarification by this commit "[PATCH] usb: dwc2: Fix HiKey > >>> regression caused by power_down feature" > >>> > https://urldefense.proofpoint.com/v2/url?u=https-3

Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature

2018-09-28 Thread John Stultz
On Thu, Sep 27, 2018 at 5:33 AM, Artur Petrosyan wrote: > We would like to buy the HiKey board to perform testes. > We found this HiKey LeMaker to have USB 2.0 ports > https://www.ebay.com/itm/HiKey-LeMaker-version-2GB-Kirin-620-SoC-8-core-ARM-Cortex-A53-CPU-ARM-Mali-450/263958047308?hash=item3d75

Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature

2018-09-27 Thread Artur Petrosyan
Hi John, On 9/25/2018 21:59, John Stultz wrote: > On Tue, Sep 25, 2018 at 3:04 AM, Artur Petrosyan > wrote: >> Just a clarification by this commit "[PATCH] usb: dwc2: Fix HiKey >> regression caused by power_down feature" >> https://urldefense.proofpoint.com

Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature

2018-09-25 Thread Artur Petrosyan
Hi John, On 9/25/2018 21:59, John Stultz wrote: > On Tue, Sep 25, 2018 at 3:04 AM, Artur Petrosyan > wrote: >> Just a clarification by this commit "[PATCH] usb: dwc2: Fix HiKey >> regression caused by power_down feature" >> https://urldefense.proofpoint.com

Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature

2018-09-25 Thread John Stultz
On Tue, Sep 25, 2018 at 3:04 AM, Artur Petrosyan wrote: > Just a clarification by this commit "[PATCH] usb: dwc2: Fix HiKey > regression caused by power_down feature" > https://marc.info/?l=linux-usb&m=152669095513248&w=2 > > the power_down is disabled se

Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature

2018-09-25 Thread Artur Petrosyan
se.proofpoint.com/v2/url?u=https-3A__marc.info_-3Fl-3Dlinux-2Dusb-26m-3D153745139408236-26w-3D2&d=DwIBaQ&c=DPL6_X_6JkXFx7AXWqB0tg&r=9hPBFKCJ_nBjJhGVrrlYOeOQjP_HlVzYqrC_D7niMJI&m=dfaz_WctFBdFgywM2g9w0XVhgOdAS4gIsj9o23RnyvY&s=_Nz3ephAop_nqrfcICii4OgMkV14Mi4yaKk8-qPqdis&

Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature

2018-09-24 Thread John Stultz
On Sun, Sep 23, 2018 at 10:57 PM, Artur Petrosyan wrote: > Hi John, > > On 9/21/2018 05:05, John Stultz wrote: >> On Thu, Sep 20, 2018 at 7:17 AM, Artur Petrosyan >> wrote: >>> On 5/23/2018 01:57, John Stultz wrote: Its done automatically, when the OTG cable is detected it the host port

Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature

2018-09-23 Thread Artur Petrosyan
Hi John, On 9/21/2018 05:05, John Stultz wrote: > On Thu, Sep 20, 2018 at 7:17 AM, Artur Petrosyan > wrote: >> On 5/23/2018 01:57, John Stultz wrote: >>> Its done automatically, when the OTG cable is detected it the host >>> ports are disabled and when the OTG port is empty the host ports are >>>

Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature

2018-09-20 Thread John Stultz
On Thu, Sep 20, 2018 at 7:17 AM, Artur Petrosyan wrote: > On 5/23/2018 01:57, John Stultz wrote: >> Its done automatically, when the OTG cable is detected it the host >> ports are disabled and when the OTG port is empty the host ports are >> enabled. >> >> Let me know if you need anything else! >>

Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature

2018-09-20 Thread Artur Petrosyan
Hi John, On 5/23/2018 01:57, John Stultz wrote: > On Tue, May 22, 2018 at 7:24 AM, Minas Harutyunyan > wrote: >> Hi John, >> >> Please provide log with debug enabled configuration. > > Ok. Attached. > For dmesg-broken.log: OTG removed at 77, and OTG plugged in at 82 > For dmesg-with-patch.log:

Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature

2018-05-22 Thread John Stultz
On Tue, May 22, 2018 at 7:24 AM, Minas Harutyunyan wrote: > Hi John, > > Please provide log with debug enabled configuration. Ok. Attached. For dmesg-broken.log: OTG removed at 77, and OTG plugged in at 82 For dmesg-with-patch.log: OTG removed at 31, OTG plugged in at 38. Note with the dmesg-wi

Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature

2018-05-22 Thread Minas Harutyunyan
Hi John, Please provide log with debug enabled configuration. On 5/21/2018 11:41 PM, John Stultz wrote: > On Mon, May 21, 2018 at 1:45 AM, Minas Harutyunyan > wrote: >> Hi John, >> >> On 5/19/2018 4:49 AM, John Stultz wrote: >>> In 4.17-rc, commit 03ea6d6e9e1f ("usb: dwc2: Enable power down") >>

Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature

2018-05-21 Thread John Stultz
On Mon, May 21, 2018 at 1:45 AM, Minas Harutyunyan wrote: > Hi John, > > On 5/19/2018 4:49 AM, John Stultz wrote: >> In 4.17-rc, commit 03ea6d6e9e1f ("usb: dwc2: Enable power down") >> caused the HiKey board to not correctly handle switching between >> usb-gadget and usb-host mode. >> >> Unpluggin

Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature

2018-05-21 Thread Minas Harutyunyan
Hi John, On 5/19/2018 4:49 AM, John Stultz wrote: > In 4.17-rc, commit 03ea6d6e9e1f ("usb: dwc2: Enable power down") > caused the HiKey board to not correctly handle switching between > usb-gadget and usb-host mode. > > Unplugging the OTG port would result in: > [ 42.240973] dwc2 f72c.usb:

[PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature

2018-05-18 Thread John Stultz
In 4.17-rc, commit 03ea6d6e9e1f ("usb: dwc2: Enable power down") caused the HiKey board to not correctly handle switching between usb-gadget and usb-host mode. Unplugging the OTG port would result in: [ 42.240973] dwc2 f72c.usb: dwc2_restore_host_registers: no host registers to restore [