On Mon, May 16, 2022 at 8:50 AM Fabio Estevam <feste...@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:%22Re%5C%3A+iMX8MM+USB+support%5C%3F%22&o=newest&f=1 > > 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-feste...@denx.de/