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

Igor Opaniuk igor.opaniuk at gmail.com
Wed Jul 24 10:28:31 UTC 2019


Hi Sherry,

On Wed, Jul 24, 2019 at 9:19 AM Sherry Sun <sherry.sun at nxp.com> wrote:
>
> Hi,Igor
>
> > -----邮件原件-----
> > 发件人: Igor Opaniuk <igor.opaniuk at gmail.com>
> > 发送时间: 2019年7月23日 20:43
> > 收件人: Sherry Sun <sherry.sun at nxp.com>
> > 抄送: Ying Liu <victor.liu at nxp.com>; Peng Fan <peng.fan at nxp.com>; Jun Li
> > <jun.li at nxp.com>; Ye Li <ye.li at nxp.com>; U-Boot Mailing List
> > <u-boot at lists.denx.de>; 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: [EXT] Re: Upstreaming usb host drivers for iMX8/iMX8M
> >
> > Hi Sherry,
> >
> > On Tue, Jul 2, 2019 at 4:26 AM Sherry Sun <sherry.sun at nxp.com> wrote:
> > >
> > > + Ying
> > >
> > > > -----邮件原件-----
> > > > 发件人: Igor Opaniuk <igor.opaniuk at gmail.com>
> > > > 发送时间: 2019年7月1日 19:32
> > > > 收件人: Sherry Sun <sherry.sun at nxp.com>
> > > > 抄送: Peng Fan <peng.fan at nxp.com>; Jun Li <jun.li at nxp.com>; Ye Li
> > > > <ye.li at nxp.com>; U-Boot Mailing List <u-boot at lists.denx.de>; 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>
> > > > 主题: [EXT] Re: Upstreaming usb host drivers for iMX8/iMX8M
> > > >
> > > > Caution: EXT Email
> > > >
> > > > 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.
> > >
> > > Yes, you are right.
> > > Anyway, I will try my best and finish the upstream job as soon as possible.
> > >
> > > > > 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)?
> > >
> > > Sorry, I am not quite sure.
> > > Ying knows more about this. Maybe he can answer you.
> > >
> > > Best regards
> > > Sherry sun
> > >
> > > > > -----邮件原件-----
> > > > > 发件人: 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:/%2
> > > > > > > >
> > > >
> > Fgit.free&data=02%7C01%7Csherry.sun%40nxp.com%7C67623cb689cf
> > > > > > > >
> > > >
> > 479bb27608d6fe17c430%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C
> > > > 0%
> > > > > > > >
> > > >
> > 7C636975775374207078&sdata=FLmaX%2Bg0SGJS%2B0qiFF7Mq%2BA
> > A
> > > > TLc
> > > > > > > > FEnPv%2FRF530WY%2B%2FY%3D&reserved=0
> > > > > > > >
> > > > > >
> > > >
> > 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%2Fdrive
> > r
> > > > > > > > s%
> > > > 2F
> > > > > > usb
> > > > > > > > %2Fhost%2Fxhci-imx8m.c%3Fh%3Dimx_v2017.03_4.9.88_imx8qxp
> > _be
> > > > ta
> > > > > > 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%2Fdrive
> > r
> > > > > > > > s%
> > > > 2F
> > > > > > usb
> > > > > > > > %2Fhost%2Fxhci-imx8.c%3Fh%3Dimx_v2017.03_4.9.88_imx8qxp_b
> > eta
> > > > 2
> > > > > > &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:/%2
> > > > > > > >
> > > >
> > Fua.linke&data=02%7C01%7Csherry.sun%40nxp.com%7C67623cb689cf
> > > > > > > >
> > > >
> > 479bb27608d6fe17c430%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C
> > > > 0%
> > > > > > > >
> > > >
> > 7C636975775374207078&sdata=Qc0lf9KpO%2BVWZ%2B8uReT6q%2FeP
> > > > U2V
> > > > > > > > hYR%2BTGmDgB6tB4RQ%3D&reserved=0
> > > > > > > >
> > > > > >
> > > >
> > 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://sour
> > > > > > ce
> > > > > > .codeaurora.org%2Fexternal%2Fimx%2Fuboot-imx%2Ftree%2Fdrivers%
> > 2F
> > > > > > u
> > > > sb
> > > > > > %2Fhost%2Fxhci-imx8.c%3Fh%3Dimx_v2018.03_4.14.98_2.0.0_ga&am
> > p;d
> > > > at
> > > > > >
> > > >
> > 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%2
> > > > > >
> > Fua.li&data=02%7C01%7Csherry.sun%40nxp.com%7C4852add2e7e949c
> > > > > >
> > b498208d70f6b5824%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%
> > 7C6
> > > > > >
> > 36994826029394941&sdata=3fkT2GNKkzD5ZCh8gLMtsUecsS%2FXPiTdrf
> > > > > > dvvA8uYnk%3D&reserved=0
> > > > > > 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.linke
> > > >
> > din.com%2Fin%2Fiopaniuk&data=02%7C01%7Csherry.sun%40nxp.com%
> > > >
> > 7C67623cb689cf479bb27608d6fe17c430%7C686ea1d3bc2b4c6fa92cd99c5c3
> > > >
> > 01635%7C0%7C0%7C636975775374207078&sdata=ydwXDkAA%2BoqTe
> > > > BPk7MPdzz33avweIWi6eBr5C%2B6HRsQ%3D&reserved=0
> >
> > Sorry for bothering you again, but do you have any updates regarding
> > USB-host/gadget driver up-streaming process?
> >
> > Thanks
> >
>
> I have sent the patchset to U-Boot mailing list on July 16.
> You can see it at https://patchwork.ozlabs.org/cover/1132760/ .
Totally missed that. Thanks for directing me there!

> And any comments are welcome.
Will do!

>
> Best regards
> Sherry sun
>
>
> > --
> > 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.linke
> > din.com%2Fin%2Fiopaniuk&data=02%7C01%7Csherry.sun%40nxp.com%
> > 7C4852add2e7e949cb498208d70f6b5824%7C686ea1d3bc2b4c6fa92cd99c5c
> > 301635%7C0%7C0%7C636994826029394941&sdata=ndYZrsrLGqmfKZRn
> > eIYIZYgjIRubNjYlSj80ax91RgI%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.linkedin.com/in/iopaniuk


More information about the U-Boot mailing list