Re: [U-Boot] [PATCH] ehci: speed up initialization

2011-12-20 Thread Wolfgang Grandegger
On 12/19/2011 05:59 PM, Remy Bohmer wrote: Hi Wolfgang, 2011/12/19 Wolfgang Grandegger w...@grandegger.com: On 12/19/2011 01:51 PM, Vincent Palatin wrote: On Mon, Dec 19, 2011 at 04:07, Wolfgang Grandegger w...@grandegger.com wrote: I just realized that this patch breaks usb start on my

Re: [U-Boot] [PATCH] ehci: speed up initialization

2011-12-19 Thread Wolfgang Grandegger
On 12/10/2011 05:29 PM, Remy Bohmer wrote: Hi, 2011/12/5 Vincent Palatin vpala...@chromium.org: According to EHCI specification v1.0, the controller should stabilize the power on a port at most 20 ms after the port power bit transition. So, we put this setting in the virtual descriptor

Re: [U-Boot] [PATCH] ehci: speed up initialization

2011-12-19 Thread Wolfgang Grandegger
On 12/19/2011 01:51 PM, Vincent Palatin wrote: On Mon, Dec 19, 2011 at 04:07, Wolfgang Grandegger w...@grandegger.com wrote: I just realized that this patch breaks usb start on my mx53loco board: MX53LOCO U-Boot usb start (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI

Re: [U-Boot] [PATCH] ehci: speed up initialization

2011-12-19 Thread Vincent Palatin
On Mon, Dec 19, 2011 at 04:07, Wolfgang Grandegger w...@grandegger.com wrote: I just realized that this patch breaks usb start on my mx53loco board:  MX53LOCO U-Boot usb start  (Re)start USB...  USB:   Register 10011 NbrPorts 1  USB EHCI 1.00  scanning bus for devices... 1 USB Device(s)

Re: [U-Boot] [PATCH] ehci: speed up initialization

2011-12-19 Thread Wolfgang Denk
Dear Wolfgang Grandegger, In message 4eef290b.9060...@grandegger.com you wrote: The device is not found at the first attempt. Obviously, a value of 10 for bPwrOn2PwrGood seems too short but 20 works fine. Would that be a resonable compromise? If yes, I could send a patch. If 10 doesn't work,

Re: [U-Boot] [PATCH] ehci: speed up initialization

2011-12-19 Thread Remy Bohmer
Hi Wolfgang, 2011/12/19 Wolfgang Grandegger w...@grandegger.com: On 12/19/2011 01:51 PM, Vincent Palatin wrote: On Mon, Dec 19, 2011 at 04:07, Wolfgang Grandegger w...@grandegger.com wrote: I just realized that this patch breaks usb start on my mx53loco board: The device is not found at

Re: [U-Boot] [PATCH] ehci: speed up initialization

2011-12-19 Thread Vincent Palatin
On Mon, Dec 19, 2011 at 08:59, Remy Bohmer li...@bohmer.net wrote: Hi Wolfgang, 2011/12/19 Wolfgang Grandegger w...@grandegger.com: On 12/19/2011 01:51 PM, Vincent Palatin wrote: On Mon, Dec 19, 2011 at 04:07, Wolfgang Grandegger w...@grandegger.com wrote: I just realized that this patch

Re: [U-Boot] [PATCH] ehci: speed up initialization

2011-12-10 Thread Remy Bohmer
Hi, 2011/12/5 Vincent Palatin vpala...@chromium.org: According to EHCI specification v1.0, the controller should stabilize the power on a port at most 20 ms after the port power bit transition. So, we put this setting in the virtual descriptor corresponding field, (bPwrOn2PwrGood = 10 = 10 x

[U-Boot] [PATCH] ehci: speed up initialization

2011-12-05 Thread Vincent Palatin
According to EHCI specification v1.0, the controller should stabilize the power on a port at most 20 ms after the port power bit transition. So, we put this setting in the virtual descriptor corresponding field, (bPwrOn2PwrGood = 10 = 10 x 2ms = 20ms), this saves about 500ms at each controller