RFC MXS: Add i.MX28 USB Host driver
Get series with b4
b4 am [email protected]Versions newest first
- v3 RFC Latest0 of 10 patches 0 repliesNew
Patches in v3 No applies recorded yet
None of the 10 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [RFC PATCH 00/10 V3] MXS: Add i.MX28 USB Host driver
Quoted 14 lines · Sascha Hauer
Quoted 13 lines · Marek Vasut
Dear Peter Chen,
Quoted 11 lines · Sascha Hauer
Quoted 9 lines
Quoted 4 lines
btw /wrt USB Gadget etc -- how does the
drivers/usb/gadget/fsl_udc_core.canddrivers/usb/gadget/ci13xxx_*fit into the big picture? We're gonna use the ci13xxx stuff for Gadget on mx28, correct? Then how doesfsl_udc_core.cfit in?From what I have been told by a collegue the ci13xxx driver works better, and from what I have seen the code looks better. So I think mxs should use it. i.MX can then use it later aswell. We won't need the
fsl_udc_coredriver anymore then.
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Oh, I find I lost many discussions using company email. From the function and quality level,
fsl_udc_core.cis absolutely the best one for all
i.mx SoCs, as both internal and upstream fsl code use it.Internally though, it looks like crap.
+1 on this.
+1
We also made some tests with some gadget devices. IMHO we had troubles with gadget_zero and testusb on the fsl_udc_core.c. I think the testusb results should help to decide which is the most stable implementation.
Quoted 12 lines
Quoted 2 lines
Also, ci13xxx and
fsl_usb_coreis duplicated stuff, correct?Yes.
Quoted 7 lines
Quoted 6 lines
I will check with IC guys to see if i.mx's controller is compatible with CI13412.
If fsl's compatible with CI13412, then mxs can try to useci13xxx_udc.cto see if there are any problems, If no problems with kinds of testing, we can switch all i.mx SoC toci13xxx_udc.c.
Quoted 5 lines
Quoted 2 lines
Sascha, did you need to patch this ci13xxx somehow to get it running on MXS ? Or what was it that said he got it somehow running?
It basically works out of the box. I think we have some patches for this driver, maybe michael can comment on this.
Yes, i have some smaller bugfix patches hanging around. I will send them to the linux-usb mailinglist until the next week. Additionaly i have some platform gluecode and a platform-support patch for the driver but you probably have the same.
The ci13xxx_udc_driver has a flags element, which has to be set appropriate to the used platform. On the mx23 for example we only were able to get all testusb results correct, when the option CI13XXX_DISABLE_STREAMING was set. In the OTG case the option CI13XXX_REGS_SHARED is mandatory.
Regards,
Michael
Signature · 4 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |