RE: [EXT] [PATCH] crypto: caam: Add support for i.MX8QM

From: Gaurav Jain
Date: Tue Apr 08 2025 - 03:46:25 EST


Reviewed-by: Gaurav Jain <gaurav.jain@xxxxxxx>

> -----Original Message-----
> From: Thomas Richard <thomas.richard@xxxxxxxxxxx>
> Sent: Monday, April 7, 2025 11:03 PM
> To: Horia Geanta <horia.geanta@xxxxxxx>; Pankaj Gupta
> <pankaj.gupta@xxxxxxx>; Gaurav Jain <gaurav.jain@xxxxxxx>; Herbert Xu
> <herbert@xxxxxxxxxxxxxxxxxxx>; David S. Miller <davem@xxxxxxxxxxxxx>
> Cc: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxx>; linux-
> crypto@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Thomas Richard
> <thomas.richard@xxxxxxxxxxx>
> Subject: [EXT] [PATCH] crypto: caam: Add support for i.MX8QM
>
> Caution: This is an external email. Please take care when clicking links or opening
> attachments. When in doubt, report the message using the 'Report this email'
> button
>
>
> 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@xxxxxxxxxxx>
> ---
> drivers/crypto/caam/ctrl.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c index
> d4b39184dbdb..38ff931059b4 100644
> --- a/drivers/crypto/caam/ctrl.c
> +++ b/drivers/crypto/caam/ctrl.c
> @@ -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 */ }
>
> ---
> base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8
> change-id: 20250407-imx8qm-caam-support-5f317ec89dde
>
> Best regards,
> --
> Thomas Richard <thomas.richard@xxxxxxxxxxx>