Hi Leonard, On 19-11-20 15:04, Leonard Crestez wrote: > On 20.11.2019 16:08, Angus Ainslie wrote: > > Hi Leonard, > > > > On 2019-11-14 12:09, Leonard Crestez wrote: > >> Add initial support for dynamic frequency switching on pieces of the > >> imx > >> interconnect fabric. > >> > >> All this driver does is set a clk rate based on an opp table, it does > >> not map register areas. > >> > > > > Is this working with mainline ATF or does it still need to be used with > > your modified ATF code ? > > This series doesn't perform SMC calls, that's done by the imx8m-ddrc > driver: https://patchwork.kernel.org/cover/11244283/ > > This particular patch allows switching NOC frequency but that's just > clk_set_rate. > > DDRC frequency switching requires the imx branch of ATF (v2.0 + ~200 > patches) otherwise you will get probe failures. Source for imx atf is > published here: https://source.codeaurora.org/external/imx/imx-atf/ > > For your particular 8mq B0 case slightly different setpoints are used > and the fix is not in any public release yet so you need this: > > https://github.com/cdleonard/arm-trusted-firmware/commits/imx_2.0.y_busfreq > > Is "mainline ATF" an important criteria for Purism? Sorry for jumping in here. Just asking myself if the nxp-atf is required for a mainline kernel for the imx8mq devices? Thanks, Marco > -- > Regards, > Leonard > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |