crypto: caam - Add support for i.MX8QM
authorThomas Richard <thomas.richard@bootlin.com>
Mon, 7 Apr 2025 17:33:14 +0000 (19:33 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 16 Apr 2025 07:16:21 +0000 (15:16 +0800)
On i.MX8QM, caam clocks are turned on automatically and Linux does not have
access to the caam controller's register page, so skip clocks
initialization.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/ctrl.c

index d4b39184dbdb959dda7b852d2ba894f4275c5d8e..38ff931059b49d9959daf31e729f739d47b43896 100644 (file)
@@ -573,6 +573,7 @@ static const struct soc_device_attribute caam_imx_soc_table[] = {
        { .soc_id = "i.MX7*",  .data = &caam_imx7_data },
        { .soc_id = "i.MX8M*", .data = &caam_imx7_data },
        { .soc_id = "i.MX8ULP", .data = &caam_imx8ulp_data },
+       { .soc_id = "i.MX8QM", .data = &caam_imx8ulp_data },
        { .soc_id = "VF*",     .data = &caam_vf610_data },
        { .family = "Freescale i.MX" },
        { /* sentinel */ }