]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
crypto: caam - Support iMX8QXP and variants thereof
authorJohn Ernberg <john.ernberg@actia.se>
Wed, 11 Jun 2025 11:38:08 +0000 (11:38 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Aug 2025 16:41:25 +0000 (18:41 +0200)
[ Upstream commit ac8aff0035fa58e53b39bd565ad6422a90ccdc87 ]

The iMX8QXP (and variants such as the QX, DX, DXP) all identify as iMX8QXP.

They have the exact same restrictions as the supported iMX8QM introduced
at commit 61bb8db6f682 ("crypto: caam - Add support for i.MX8QM")

Loosen the check a little bit with a wildcard to also match the iMX8QXP
and its variants.

Signed-off-by: John Ernberg <john.ernberg@actia.se>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/caam/ctrl.c

index 38ff931059b49d9959daf31e729f739d47b43896..9cd5e3d54d9d0e830e756223b6f710bd88fefc69 100644 (file)
@@ -573,7 +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 = "i.MX8Q*", .data = &caam_imx8ulp_data },
        { .soc_id = "VF*",     .data = &caam_vf610_data },
        { .family = "Freescale i.MX" },
        { /* sentinel */ }