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

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

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

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

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

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