[U-Boot] i.MX6Q USB host support for mainline Linux (was: Re: [PATCH v2 1/2] usb/ehci: Add USB support for the MX6Q)

Marek Vasut marek.vasut at gmail.com
Sun Feb 12 12:09:46 CET 2012


> While discussing at the U-Boot mailing list about  i.MX6Q USB host
> support for U-Boot, there was the question what's about the same for
> mainline Linux. See below.
> 
> I'd like to continue this discussion with a new subject and adding the
> Linaro mailing list.

I'm not subscribed, this is gonna make it all a mess.

> 
> On 12.02.2012 09:46, Marek Vasut wrote:
> >> On 11.02.2012 19:46, Fabio Estevam wrote:
> >>> On Sat, Feb 11, 2012 at 5:12 AM, Marek Vasut<marek.vasut at gmail.com>   
wrote:
> >>>> btw Fabio, do we support mx6q USB host in mainline Linux ?
> >>> 
> >>> Not yet, Marek.
> >> 
> >> Linaro has it working with
> >> 
> >> http://git.linaro.org/gitweb?p=bsp/freescale/linux-linaro.git;a=commit;h
> >> =de 941f9ac0b59c34053618e90e3c1f1d8b5a2d22
> >> 
> >> http://git.linaro.org/gitweb?p=bsp/freescale/linux-linaro.git;a=commit;h
> >> =40 26cfa27332f2e53cfbf72cc98cf4db8c2f2127
> >> 
> >> It shouldn't be that hard to apply these to plain mainline Linux (?).
> > 
> > Do you believe this will be accepted into mainline Linux if basically the
> > same stuff, except for mx28 did NOT get accepted?
> 
> Do you have any pointers to the discussion about this? Hopefully we
> could learn from that.

This is the name of the thread in LAKML:
"RE: Want to Get Suggestion for MX28 USB Submisson"

> 
> > The shape of the code was almost
> > identical, maybe better. Actually, even the file names are the same here
> > and in the old FSL BSP for mx28.
> 
> I think the good news is at least that Linaro is working on a more or
> less recent kernel (atm 3.2). So, as mentioned above, porting it from
> the Linaro kernel to the mainline kernel shouldn't be that hard.

It actually will be, since ... well see the discussion about MX28 USB, it's all 
explained there. Sorry, I'm currently at the verge of falling asleep, very 
tired.

> The
> next step would be to clean them up, hopefully learning from the mx28
> experience mentioned above.

There was something going on about handling the PHY separately from the USB EHCI 
core, that's the part where it got stuck if I recall well.
> 
> What do you think?

I think I'll have a good sleep now, I need it, I'm starting to babble nonsense.
> 
> Best regards
> 
> Dirk

M


More information about the U-Boot mailing list