mailbox: imx: support i.MX95 Generic/ELE/V2X MU
authorPeng Fan <peng.fan@nxp.com>
Mon, 19 Feb 2024 05:22:40 +0000 (13:22 +0800)
committerJassi Brar <jassisinghbrar@gmail.com>
Mon, 11 Mar 2024 00:05:24 +0000 (19:05 -0500)
Add i.MX95 Generic/ELE/V2X MU support, its register layout is same as
i.MX8ULP, but the Parameter registers would show different
TR/RR. Since the driver already supports get TR/RR from Parameter
registers, not hardcoding the number, this patch just add
the compatible entry to reuse i.MX8ULP S4 cfg data.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
drivers/mailbox/imx-mailbox.c

index b36267591db2d175f281856984ddf72c12371389..5c1d09cad761265638f3d28b8cce46cf98e5061d 100644 (file)
@@ -1035,6 +1035,9 @@ static const struct of_device_id imx_mu_dt_ids[] = {
        { .compatible = "fsl,imx8ulp-mu", .data = &imx_mu_cfg_imx8ulp },
        { .compatible = "fsl,imx8ulp-mu-s4", .data = &imx_mu_cfg_imx8ulp_s4 },
        { .compatible = "fsl,imx93-mu-s4", .data = &imx_mu_cfg_imx93_s4 },
+       { .compatible = "fsl,imx95-mu", .data = &imx_mu_cfg_imx8ulp },
+       { .compatible = "fsl,imx95-mu-ele", .data = &imx_mu_cfg_imx8ulp_s4 },
+       { .compatible = "fsl,imx95-mu-v2x", .data = &imx_mu_cfg_imx8ulp_s4 },
        { .compatible = "fsl,imx8-mu-scu", .data = &imx_mu_cfg_imx8_scu },
        { .compatible = "fsl,imx8-mu-seco", .data = &imx_mu_cfg_imx8_seco },
        { },