From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Behme Date: Sun, 12 Feb 2012 10:54:16 +0100 Subject: [U-Boot] i.MX6Q USB host support for mainline Linux (was: Re: [PATCH v2 1/2] usb/ehci: Add USB support for the MX6Q) In-Reply-To: <201202120946.44673.marek.vasut@gmail.com> References: <1328776406-24465-1-git-send-email-wg@denx.de> <4F3771E3.80700@googlemail.com> <201202120946.44673.marek.vasut@gmail.com> Message-ID: <4F378C48.4070205@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. 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 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. > 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. The next step would be to clean them up, hopefully learning from the mx28 experience mentioned above. What do you think? Best regards Dirk