Re: [U-Boot] DWC2 driver issues

2015-03-05 Thread Marek Vasut
On Tuesday, March 03, 2015 at 12:33:41 AM, Stephen Warren wrote: [...] although it hangs pretty quickly. I assume one of the busy loops in dwc2.c without a time out isn't completing. Oh, dang. Those should certainly be fixed. Looking at the patch, could it be that

Re: [U-Boot] DWC2 driver issues

2015-03-02 Thread Stephen Warren
On 03/02/2015 04:42 AM, Marek Vasut wrote: On Saturday, February 28, 2015 at 05:33:31 AM, Stephen Warren wrote: On 02/19/2015 07:29 AM, Marek Vasut wrote: On Monday, February 16, 2015 at 07:28:45 PM, Stephen Warren wrote: Following on from my Google+ post about DWC2/RPi USB host controller

Re: [U-Boot] DWC2 driver issues

2015-03-02 Thread Kishon Vijay Abraham I
On Monday 02 March 2015 05:08 PM, Marek Vasut wrote: On Friday, February 20, 2015 at 04:22:58 AM, Stephen Warren wrote: Hi! [...] Existing code that invokes USB transfers will call (a) once. (a) will call (b) as many times as needed to break up the packet into small chunks. (b) will either

Re: [U-Boot] DWC2 driver issues

2015-03-02 Thread Marek Vasut
On Friday, February 20, 2015 at 04:22:58 AM, Stephen Warren wrote: Hi! [...] Existing code that invokes USB transfers will call (a) once. (a) will call (b) as many times as needed to break up the packet into small chunks. (b) will either send the transaction to the HW (HS devices or

Re: [U-Boot] DWC2 driver issues

2015-03-02 Thread Marek Vasut
On Saturday, February 28, 2015 at 05:33:31 AM, Stephen Warren wrote: On 02/19/2015 07:29 AM, Marek Vasut wrote: On Monday, February 16, 2015 at 07:28:45 PM, Stephen Warren wrote: Following on from my Google+ post about DWC2/RPi USB host controller issues in U-Boot. ... On an RPi with

Re: [U-Boot] DWC2 driver issues

2015-03-01 Thread Stephen Warren
On 02/19/2015 07:29 AM, Marek Vasut wrote: On Monday, February 16, 2015 at 07:28:45 PM, Stephen Warren wrote: Following on from my Google+ post about DWC2/RPi USB host controller issues in U-Boot. ... On an RPi with the DWC2 controller connected directly to a single external USB connector

Re: [U-Boot] DWC2 driver issues

2015-02-19 Thread Dinh Nguyen
On Thu, 19 Feb 2015, Marek Vasut wrote: +cc: John Youn John took over the maintainership of the DWC2 driver in linux as Paul Zimmerman is no longer at Synopsys. On Monday, February 16, 2015 at 07:28:45 PM, Stephen Warren wrote: Marek, Hello Stephen, Following on from my Google+ post

Re: [U-Boot] DWC2 driver issues

2015-02-19 Thread Marek Vasut
On Monday, February 16, 2015 at 07:28:45 PM, Stephen Warren wrote: Marek, Hello Stephen, Following on from my Google+ post about DWC2/RPi USB host controller issues in U-Boot. There are 3 issues I've identified so far: so far :) 1) On an RPi with the DWC2 controller connected

Re: [U-Boot] DWC2 driver issues

2015-02-19 Thread Stephen Warren
On 02/19/2015 07:29 AM, Marek Vasut wrote: On Monday, February 16, 2015 at 07:28:45 PM, Stephen Warren wrote: Marek, ... To fully cover both (1) and (2) for all types of transfer, I think we should create a couple functions to do the low-level handling of USB transfers: a) Perform a large

[U-Boot] DWC2 driver issues

2015-02-16 Thread Stephen Warren
Marek, Following on from my Google+ post about DWC2/RPi USB host controller issues in U-Boot. There are 3 issues I've identified so far: 1) On an RPi with the DWC2 controller connected directly to a single external USB connector (i.e model A, A+), a LS (and perhaps FS) device pluged directly