[U-Boot] Upstreaming usb host drivers for iMX8/iMX8M

Igor Opaniuk igor.opaniuk at gmail.com
Mon Jul 1 11:32:02 UTC 2019


Hi Sherry,

On Fri, Jun 28, 2019 at 8:02 AM Sherry Sun <sherry.sun at nxp.com> wrote:
>
> Hi, Igor
>
> We have the plan to do the upstream job of cdns3 host/gadget drivers on imx8.
> Now we just have done the DM switch of cdns3 gadget driver, and there also
> some changes in xhci_imx8.c.
Thanks for the details!

> We plan to start our upstream job from next week, and the first version will be
> send to maintainer within two or three weeks. We hope it will be included in
> uboot v2019.07 RC2.
I'm afraid we're a bit late here.
v2019.07 is going to be released next Monday (there was a release of
v2019.07-rc4 already in June 11), so the next merge window for
v2019.10 opens July 9.

> Do you think this is okay?
Sounds good! Looking forward to your patches in the mailing list!

>
> Best regards
> Sherry sun
>
>
Just a bit off-topic, but are you aware about similar plans for
upstreaming of DPU driver for i.MX8 (driver/video/imxdpuv1.c)?

> -----邮件原件-----
> 发件人: Peng Fan
> 发送时间: 2019年6月27日 17:58
> 收件人: Igor Opaniuk <igor.opaniuk at gmail.com>; Sherry Sun <sherry.sun at nxp.com>; Jun Li <jun.li at nxp.com>
> 抄送: U-Boot Mailing List <u-boot at lists.denx.de>; Ye Li <ye.li at nxp.com>; Peter Chen <peter.chen at nxp.com>; dl-uboot-imx <uboot-imx at nxp.com>; Marcel Ziswiler <marcel.ziswiler at toradex.com>; Max Krummenacher <max.krummenacher at toradex.com>; Igor Opaniuk <igor.opaniuk at toradex.com>; Frank Li <frank.li at nxp.com>
> 主题: RE: Upstreaming usb host drivers for iMX8/iMX8M
>
> + Sherry, Jun
>
> > Subject: Re: Upstreaming usb host drivers for iMX8/iMX8M
> >
> > Hi Peng,
> >
> > On Thu, Jun 27, 2019 at 8:32 AM Peng Fan <peng.fan at nxp.com> wrote:
> > >
> > >
> > > Hi Igor,
> > >
> > > > Subject: Upstreaming usb host drivers for iMX8/iMX8M
> > > >
> > > > Hi Peng, Ye, Peter,
> > > >
> > > > Currently there in no any usb host/gadget support in the mainline
> > > > U-boot, and seems that no one has posted anything yet to the
> > > > mailing list (at least I haven't found anything related to this in the ML archives).
> > > >
> > > > I've spent some time testing (usb host, ums etc.) the one in the
> > > > downstream NXP U-boot (I'm still not sure where is the official
> > > > NXP downstream rep, because there are no any updates in [1] for
> > > > the last two years, so I looked into [2], [3]), and just curious
> > > > if there any plans to get it upstreamed in the near future?
> > >
> > > In NXP downstream, there is work to migrate the i.MX8 usb/gadget to DM.
> > > When that ready, the patches will be posted to community.
> >
> > So do you need any help with this?
>
> I am not working on that. But I welcome any contribution to make more features supported in upstream.
>
> Won't you mind if we start up-streaming at
> > least xhci-imx8.c, which is used in both our SoMs Apalis iMX8 and
> > Colibri iMX8QXP. Based on what I've seen in [1], the initial
> > conversion to DM_USB is already done. Is there anything else that is
> > expected to be changed in xhci-imx8.c (by asking this I just want to avoid duplicating the effort)?
>
> Sherry, Jun has some work on the driver. So they might have comments to avoid duplicating efforts, in case they has plan recently.
>
> Regards,
> Peng.
>
> >
> > Frankly, this is currently a kind of showstopper for us, as it adds
> > some complications for the next release of our BSP (we would like to
> > enable usb host/gadget support or iMX8-based SoMS, including all
> > dependent features like fastboot/usb storage/ums etc.), where we made
> > a decision to move towards the usage of the mainline U-boot (with the
> > minimal divergence and minimal amount of legacy downstream patches on top of it).
> >
> > >
> > >
> > > Regards,
> > > Peng.
> > >
> > > >
> > > > Thanks and looking forward to your reply!
> > > >
> > > > [1]
> > > > http://git.free
> > > >
> > scale.com%2Fgit%2Fcgit.cgi%2Fimx%2Fuboot-imx.git&data=02%7C01%
> > > >
> > 7Cpeng.fan%40nxp.com%7Ccb5c23c8a4764b489d6308d6fa32e9cf%7C686ea
> > > >
> > 1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636971493909583933&
> > > >
> > sdata=HcUVX2n%2BdzUNtkuF%2BC4IoFRuMtZpZpJvBpwoqk20Lrk%3D&
> > > > reserved=0
> > > > [2]
> > > > https://source
> > > > .codeaurora.org%2Fexternal%2Fimx%2Fuboot-imx%2Ftree%2Fdrivers%2F
> > usb
> > > > %2Fhost%2Fxhci-imx8m.c%3Fh%3Dimx_v2017.03_4.9.88_imx8qxp_beta
> > 2&a
> > > >
> > mp;data=02%7C01%7Cpeng.fan%40nxp.com%7Ccb5c23c8a4764b489d6308d
> > > >
> > 6fa32e9cf%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6369714
> > > >
> > 93909583933&sdata=Dvp5XlU8Zcj9wJJ2cvD8taPCbitVKVjpGyyFHonTF%
> > > > 2Bs%3D&reserved=0
> > > > [3]
> > > > https://source
> > > > .codeaurora.org%2Fexternal%2Fimx%2Fuboot-imx%2Ftree%2Fdrivers%2F
> > usb
> > > > %2Fhost%2Fxhci-imx8.c%3Fh%3Dimx_v2017.03_4.9.88_imx8qxp_beta2
> > &am
> > > >
> > p;data=02%7C01%7Cpeng.fan%40nxp.com%7Ccb5c23c8a4764b489d6308d6f
> > > >
> > a32e9cf%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63697149
> > > >
> > 3909583933&sdata=v5%2FiQYxvpLLPjj5QcHQ8dC8RfoFkNVfMbKQ79rW
> > > > wV4c%3D&reserved=0
> > > >
> > > > --
> > > > Best regards - Freundliche Grüsse - Meilleures salutations
> > > >
> > > > Igor Opaniuk
> > > >
> > > > mailto: igor.opaniuk at gmail.com
> > > > skype: igor.opanyuk
> > > > +380 (93) 836 40 67
> > > > http://ua.linke
> > > >
> > din.com%2Fin%2Fiopaniuk&data=02%7C01%7Cpeng.fan%40nxp.com%7
> > > >
> > Ccb5c23c8a4764b489d6308d6fa32e9cf%7C686ea1d3bc2b4c6fa92cd99c5c30
> > > >
> > 1635%7C0%7C0%7C636971493909583933&sdata=gwm7kV8EAYWThz3
> > > > %2FtbvYc9ahqla2OkcR83MRmY5DK%2FI%3D&reserved=0
> >
> > [1]
> > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsour
> > ce .codeaurora.org%2Fexternal%2Fimx%2Fuboot-imx%2Ftree%2Fdrivers%2Fusb
> > %2Fhost%2Fxhci-imx8.c%3Fh%3Dimx_v2018.03_4.14.98_2.0.0_ga&dat
> > a=02%7C01%7Cpeng.fan%40nxp.com%7C90eb5afad5b64cf5cf6508d6fae4b7
> > df%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6369722575870
> > 57999&sdata=Mx4L36CP4BhQ4%2FwKMmuVxhAU4DwruU7BmMBNsJ3
> > HTxI%3D&reserved=0
> >
> > Thanks!
> >
> > --
> > Best regards - Freundliche Grüsse - Meilleures salutations
> >
> > Igor Opaniuk
> >
> > mailto: igor.opaniuk at gmail.com
> > skype: igor.opanyuk
> > +380 (93) 836 40 67
> > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fua.li
> > nke
> > din.com%2Fin%2Fiopaniuk&data=02%7C01%7Cpeng.fan%40nxp.com%7
> > C90eb5afad5b64cf5cf6508d6fae4b7df%7C686ea1d3bc2b4c6fa92cd99c5c301
> > 635%7C0%7C0%7C636972257587057999&sdata=q1vfYLbOx5FRqz9CV6
> > ue0rWAb59pa%2FgNUnjQd2fTQwg%3D&reserved=0

Thanks!
Regards,
Igor

-- 
Best regards - Freundliche Grüsse - Meilleures salutations

Igor Opaniuk

mailto: igor.opaniuk at gmail.com
skype: igor.opanyuk
+380 (93) 836 40 67
http://ua.linkedin.com/in/iopaniuk


More information about the U-Boot mailing list