Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit d283570

Browse files
panguptaherbertx
authored andcommitted
crypto: caam - i.MX8ULP donot have CAAM page0 access
iMX8ULP have a secure-enclave hardware IP called EdgeLock Enclave(ELE), that control access to caam controller's register page, i.e., page0. At all, if the ELE release access to CAAM controller's register page, it will release to secure-world only. Clocks are turned on automatically for iMX8ULP. There exists the caam clock gating bit, but it is not advised to gate the clock at linux, as optee-os or any other entity might be using it. Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com> Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com> Reviewed-by: Horia Geanta <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 6144436 commit d283570

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/crypto/caam/ctrl.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,11 +563,14 @@ static const struct caam_imx_data caam_vf610_data = {
563563
.num_clks = ARRAY_SIZE(caam_vf610_clks),
564564
};
565565

566+
static const struct caam_imx_data caam_imx8ulp_data;
567+
566568
static const struct soc_device_attribute caam_imx_soc_table[] = {
567569
{ .soc_id = "i.MX6UL", .data = &caam_imx6ul_data },
568570
{ .soc_id = "i.MX6*", .data = &caam_imx6_data },
569571
{ .soc_id = "i.MX7*", .data = &caam_imx7_data },
570572
{ .soc_id = "i.MX8M*", .data = &caam_imx7_data },
573+
{ .soc_id = "i.MX8ULP", .data = &caam_imx8ulp_data },
571574
{ .soc_id = "VF*", .data = &caam_vf610_data },
572575
{ .family = "Freescale i.MX" },
573576
{ /* sentinel */ }

0 commit comments

Comments
 (0)