Re: [chipidea] continuous USB resets on NXP i.MX 6ULL device

2019-10-07 Thread Peter Chen
On 19-10-02 19:15:11, Igor Opaniuk wrote: > + Li Jun > > Hi Peter, Li, > > On Mon, Sep 30, 2019 at 2:35 PM Igor Opaniuk wrote: > > > > Hi Peter, > > > > On Wed, Sep 25, 2019 at 3:44 AM Peter Chen wrote: > > > > > > > > > > > > > > Hi Fabio, Peter, Stefan, > > > > > > > > I've incidentally disco

Re: [chipidea] continuous USB resets on NXP i.MX 6ULL device

2019-10-02 Thread Igor Opaniuk
+ Li Jun Hi Peter, Li, On Mon, Sep 30, 2019 at 2:35 PM Igor Opaniuk wrote: > > Hi Peter, > > On Wed, Sep 25, 2019 at 3:44 AM Peter Chen wrote: > > > > > > > > > > Hi Fabio, Peter, Stefan, > > > > > > I've incidentally discovered your last year discussion in ML [1] (I hope > > > it rings the >

Re: [chipidea] continuous USB resets on NXP i.MX 6ULL device

2019-09-30 Thread Igor Opaniuk
Hi Peter, On Wed, Sep 25, 2019 at 3:44 AM Peter Chen wrote: > > > > > > Hi Fabio, Peter, Stefan, > > > > I've incidentally discovered your last year discussion in ML [1] (I hope it > > rings the > > bell) regarding the issue I'm still observing on the same device with the > > mainline > > kerne

RE: [chipidea] continuous USB resets on NXP i.MX 6ULL device

2019-09-24 Thread Peter Chen
> > Hi Fabio, Peter, Stefan, > > I've incidentally discovered your last year discussion in ML [1] (I hope it > rings the > bell) regarding the issue I'm still observing on the same device with the > mainline > kernel. > > The difference between i.MX 6ULL EVK and this particular device, is th

[chipidea] continuous USB resets on NXP i.MX 6ULL device

2019-09-24 Thread Igor Opaniuk
Hi Fabio, Peter, Stefan, I've incidentally discovered your last year discussion in ML [1] (I hope it rings the bell) regarding the issue I'm still observing on the same device with the mainline kernel. The difference between i.MX 6ULL EVK and this particular device, is that usbotg2 is used only i

Re: Continuous USB resets on NXP i.MX 6ULL device

2018-03-02 Thread Stefan Wahren
Am 02.03.2018 um 04:03 schrieb Peter Chen: For non-core registers, i.mx6ull can use i.mx6q as its base setting, the bits you mentioned may also be reserved at imx6qdl RM. just for my understanding: MX6_BM_NON_BURST_SETTING is a no-op on i.MX6ULL or not properly documented in reference manual

RE: Continuous USB resets on NXP i.MX 6ULL device

2018-03-01 Thread Peter Chen
> >> > > For non-core registers, i.mx6ull can use i.mx6q as its base setting, > > the bits you mentioned may also be reserved at imx6qdl RM. > > > just for my understanding: MX6_BM_NON_BURST_SETTING is a no-op on > i.MX6ULL or not properly documented in reference manual? Not properly documented

Re: Continuous USB resets on NXP i.MX 6ULL device

2018-03-01 Thread Stefan Wahren
Hi Peter, Am 01.03.2018 um 03:00 schrieb Peter Chen: > On Wed, Feb 28, 2018 at 06:08:20PM +0100, Stefan Wahren wrote: >> Hi, >> >> i'm not sure this is related, but i noticed something ugly in >> driver/usb/chipidea/usbmisc_imx.c. >> >> The compatible "fsl,imx6ul-usbmisc" uses imx6sx_usbmisc_ops,

Re: Continuous USB resets on NXP i.MX 6ULL device

2018-02-28 Thread Peter Chen
On Wed, Feb 28, 2018 at 06:08:20PM +0100, Stefan Wahren wrote: > Hi, > > i'm not sure this is related, but i noticed something ugly in > driver/usb/chipidea/usbmisc_imx.c. > > The compatible "fsl,imx6ul-usbmisc" uses imx6sx_usbmisc_ops, which uses > usbmisc_imx6sx_init (which also calls usbmisc_i

Re: Continuous USB resets on NXP i.MX 6ULL device

2018-02-28 Thread Fabio Estevam
Hi Stefan, On Wed, Feb 28, 2018 at 2:08 PM, Stefan Wahren wrote: > Hi, > > i'm not sure this is related, but i noticed something ugly in > driver/usb/chipidea/usbmisc_imx.c. > > The compatible "fsl,imx6ul-usbmisc" uses imx6sx_usbmisc_ops, which uses > usbmisc_imx6sx_init (which also calls usbmisc

Re: Continuous USB resets on NXP i.MX 6ULL device

2018-02-28 Thread Stefan Wahren
Hi, i'm not sure this is related, but i noticed something ugly in driver/usb/chipidea/usbmisc_imx.c. The compatible "fsl,imx6ul-usbmisc" uses imx6sx_usbmisc_ops, which uses usbmisc_imx6sx_init (which also calls usbmisc_imx6q_init). Within usbmisc_imx6q_init the flag MX6_BM_NON_BURST_SETTING is en

Re: Continuous USB resets on NXP i.MX 6ULL device

2018-02-25 Thread Peter Chen
On Mon, Feb 12, 2018 at 03:56:52PM +0100, Stefan Agner wrote: > Hi Peter, > > Our Colibri iMX6ULL is using NXP i.MX6 ULL in USB host mode. With > 4.15-rc3 and 4.16-rc1 I noticed that when a USB Hub is connected to the > USB OTG controller in host mode, Linux continuously resets the USB > device ev

Continuous USB resets on NXP i.MX 6ULL device

2018-02-12 Thread Stefan Agner
Hi Peter, Our Colibri iMX6ULL is using NXP i.MX6 ULL in USB host mode. With 4.15-rc3 and 4.16-rc1 I noticed that when a USB Hub is connected to the USB OTG controller in host mode, Linux continuously resets the USB device every two seconds: [0.927567] ehci_hcd: USB 2.0 'Enhanced' Host Control