[linux-next, 1/1] clk: imx: imx8mm-anatop: probe only on i.MX8MM platforms

Mark Brown broonie at kernel.org
Mon May 19 05:05:12 PDT 2025


On Fri, May 16, 2025 at 03:49:27PM +0200, Dario Binacchi wrote:
> Commit 9c1e388af87c ("clk: imx: add support for i.MX8MM anatop clock
> driver") breaks boot on i.MX8M{P,N} platforms.

...

> In the imx8mp.dtsi device tree, the anatop compatible string is:
> 
> compatible = "fsl,imx8mp-anatop", "fsl,imx8mm-anatop";
> 
> So, in configurations like arm64 defconfig, where CONFIG_CLK_IMX8MP and
> CONFIG_CLK_IMX8MM as well as CONFIG_CLK_IMX8MN are enabled, the driver
> for the i.MX8MM anatop is incorrectly loaded.
> 
> The patch fixes the regression by ensuring that the i.MX8MM anatop
> driver only probes on i.MX8MM platforms.

This *works* so 

Tested-by: Mark Brown <broonie at kernel.org>

and we probably need it for existing built DTs, but shouldn't there also
be a patch to the DT source since the two blocks clearly don't seem to
be compatible.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20250519/5e25ce1f/attachment.sig>


More information about the linux-arm-kernel mailing list