
On Mon, May 16, 2022 at 8:50 AM Fabio Estevam festevam@denx.de wrote:
Hi Marcel,
On 16/05/2022 12:41, Marcel Ziswiler wrote:
Talking about uuu, has anybody managed to get that going on the i.MX 8M Mini yet? Regular USB device/host functionality works great but last I tried gadget functionality in SPL it gave me quite some grief.
Please see this series: https://patchwork.ozlabs.org/project/uboot/list/?series=251796&state=*
I haven't had a chance to rework it. Feel free to work to submit it if you have a chance.
Tommaso has recently tested it: https://www.mail-archive.com/search?l=u-boot@lists.denx.de&q=subject:%22...
Someone needs to rework this series and resubmit it.
This keeps coming up and many of us are just carrying this patch series in downstream repos which is horrible.
The problem patch in this series [1] is 'imx8mm: Fix USB reg addresses for i.MX8MM' [2] as we all want to get hard-coded base addresses out of the drivers. The proposed solution is to get the controller base addresses from PLATDATA in the SPL (and DM/DT for U-Boot). Can anyone take this part on or provide some examples of how to use platdata/of-platdata?
Best Regards,
Tim [1] https://patchwork.ozlabs.org/project/uboot/list/?series=251796&state=* [2] https://patchwork.ozlabs.org/project/uboot/patch/20210703195837.28153-2-fest...