Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-18 Thread Benoît Thébaudeau
Dear Marek Vasut, On Wednesday, November 7, 2012 3:13:51 PM, Marek Vasut wrote: Dear Lucas Stach, Dear Marek Vasut, Am Mittwoch, den 07.11.2012, 14:25 +0100 schrieb Marek Vasut: Now I would still argue that we should keep the two step init model, first we instantiate the driver

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-18 Thread Marek Vasut
Dear Benoît Thébaudeau, Dear Marek Vasut, On Wednesday, November 7, 2012 3:13:51 PM, Marek Vasut wrote: Dear Lucas Stach, Dear Marek Vasut, Am Mittwoch, den 07.11.2012, 14:25 +0100 schrieb Marek Vasut: Now I would still argue that we should keep the two step init model,

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-07 Thread Marek Vasut
Dear Lucas Stach, Dear Marek Vasut, Am Dienstag, den 06.11.2012, 23:35 +0100 schrieb Marek Vasut: Dear Lucas Stach, [...] What do you think? What about passing port private / platform data instead of ID ? The ID is already passed to ehci_hcd_init(), so

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-07 Thread Lucas Stach
Dear Marek Vasut, Am Mittwoch, den 07.11.2012, 14:25 +0100 schrieb Marek Vasut: Dear Lucas Stach, Dear Marek Vasut, Am Dienstag, den 06.11.2012, 23:35 +0100 schrieb Marek Vasut: I don't see how you transfer DT information into controller # ... There is really no need to pass

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-07 Thread Marek Vasut
Dear Lucas Stach, Dear Marek Vasut, Am Mittwoch, den 07.11.2012, 14:25 +0100 schrieb Marek Vasut: Dear Lucas Stach, Dear Marek Vasut, Am Dienstag, den 06.11.2012, 23:35 +0100 schrieb Marek Vasut: I don't see how you transfer DT information into controller # ...

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-06 Thread Benoît Thébaudeau
Dear Lucas Stach, On Tuesday, November 6, 2012 8:43:43 AM, Lucas Stach wrote: Am Dienstag, den 06.11.2012, 00:56 +0100 schrieb Marek Vasut: Dear Benoît Thébaudeau, Dear Marek Vasut, On Monday, November 5, 2012 11:54:12 PM, Marek Vasut wrote: Dear Benoît Thébaudeau,

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-06 Thread Marek Vasut
Dear Lucas Stach, [...] What do you think? What about passing port private / platform data instead of ID ? The ID is already passed to ehci_hcd_init(), so we have to live with it if we don't want to change the newly introduced multi-controller infrastructure.

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-06 Thread Marek Vasut
Dear Benoît Thébaudeau, Dear Lucas Stach, On Tuesday, November 6, 2012 8:43:43 AM, Lucas Stach wrote: Am Dienstag, den 06.11.2012, 00:56 +0100 schrieb Marek Vasut: Dear Benoît Thébaudeau, Dear Marek Vasut, On Monday, November 5, 2012 11:54:12 PM, Marek Vasut wrote:

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-06 Thread Lucas Stach
Dear Marek Vasut, Am Dienstag, den 06.11.2012, 23:35 +0100 schrieb Marek Vasut: Dear Lucas Stach, [...] What do you think? What about passing port private / platform data instead of ID ? The ID is already passed to ehci_hcd_init(), so we have to live with it if

[U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-05 Thread Benoît Thébaudeau
Hi Marek, Thanks to Lucas' series coming with commits c7e3b2b and 676ae06, I'd like to use the multi-controller feature on MXC since most of these SoCs come with a USB IP supporting an OTG controller and multiple host-only controllers. Currently the MXC code in ehci-mx{c|5|6}.c just ignores the

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-05 Thread Marek Vasut
Dear Benoît Thébaudeau, Hi Marek, Thanks to Lucas' series coming with commits c7e3b2b and 676ae06, I'd like to use the multi-controller feature on MXC since most of these SoCs come with a USB IP supporting an OTG controller and multiple host-only controllers. Currently the MXC code in

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-05 Thread Benoît Thébaudeau
Dear Marek Vasut, On Monday, November 5, 2012 11:54:12 PM, Marek Vasut wrote: Dear Benoît Thébaudeau, Hi Marek, Thanks to Lucas' series coming with commits c7e3b2b and 676ae06, I'd like to use the multi-controller feature on MXC since most of these SoCs come with a USB IP

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-05 Thread Marek Vasut
Dear Benoît Thébaudeau, Dear Marek Vasut, On Monday, November 5, 2012 11:54:12 PM, Marek Vasut wrote: Dear Benoît Thébaudeau, Hi Marek, Thanks to Lucas' series coming with commits c7e3b2b and 676ae06, I'd like to use the multi-controller feature on MXC since most of these

Re: [U-Boot] usb: ehci: Take advantage of the new multi-controller feature for MXC

2012-11-05 Thread Lucas Stach
Am Dienstag, den 06.11.2012, 00:56 +0100 schrieb Marek Vasut: Dear Benoît Thébaudeau, Dear Marek Vasut, On Monday, November 5, 2012 11:54:12 PM, Marek Vasut wrote: Dear Benoît Thébaudeau, Hi Marek, Thanks to Lucas' series coming with commits c7e3b2b and 676ae06,