]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
crypto: caam - init-clk based on caam-page0-access
authorPankaj Gupta <pankaj.gupta@nxp.com>
Mon, 29 Apr 2024 06:28:52 +0000 (11:58 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 10 May 2024 09:15:24 +0000 (17:15 +0800)
commit6144436803b7a8738f3defa1fd6b4b6751f6793e
treefdfc7211e571d66862d35db00d2ce77090b4274f
parentf8c423bab99cc2facc37cfd7d29ad8864f98a4c2
crypto: caam - init-clk based on caam-page0-access

CAAM clock initializat is done based on the basis of soc specific
info stored in struct caam_imx_data:
- caam-page0-access flag
- num_clks

CAAM driver needs to be aware of access rights to CAAM control page
i.e., page0, to do things differently.

Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com>
Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/ctrl.c