[U-Boot] Upstreaming usb host drivers for iMX8/iMX8M
Peng Fan
peng.fan at nxp.com
Thu Jun 27 09:57:38 UTC 2019
+ 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%2Fsource
> .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.linke
> 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
More information about the U-Boot
mailing list