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

From: Mark Brown
Date: Mon May 19 2025 - 08:05:27 EST


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@xxxxxxxxxx>

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.

Attachment: signature.asc
Description: PGP signature