Message ID | 20250407-imx8qm-caam-support-v1-1-181cf01a14ec@bootlin.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Herbert Xu |
Headers | show |
Series | crypto: caam: Add support for i.MX8QM | expand |
Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com> > -----Original Message----- > From: Thomas Richard <thomas.richard@bootlin.com> > Sent: Monday, April 7, 2025 11:03 PM > To: Horia Geanta <horia.geanta@nxp.com>; Pankaj Gupta > <pankaj.gupta@nxp.com>; Gaurav Jain <gaurav.jain@nxp.com>; Herbert Xu > <herbert@gondor.apana.org.au>; David S. Miller <davem@davemloft.net> > Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>; linux- > crypto@vger.kernel.org; linux-kernel@vger.kernel.org; Thomas Richard > <thomas.richard@bootlin.com> > 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@bootlin.com> > --- > 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@bootlin.com>
On Mon, Apr 07, 2025 at 07:33:14PM +0200, Thomas Richard wrote: > 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> > --- > drivers/crypto/caam/ctrl.c | 1 + > 1 file changed, 1 insertion(+) Patch applied. Thanks.
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 */ }
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> --- drivers/crypto/caam/ctrl.c | 1 + 1 file changed, 1 insertion(+) --- base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8 change-id: 20250407-imx8qm-caam-support-5f317ec89dde Best regards,