crypto: caam - add support for i.MX8M Nano
authorHoria Geantă <horia.geanta@nxp.com>
Mon, 6 Jan 2020 20:01:53 +0000 (22:01 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 16 Jan 2020 07:18:13 +0000 (15:18 +0800)
commit2a2fbf20ad80f66cfd8e5018a7c4bfc4238c3228
tree6b7c537b3b7c97e3931d6ab655c2ca05803bf245
parent4b0ec91af8a4ab11b0d68ede92ed810d131b815e
crypto: caam - add support for i.MX8M Nano

Add support for the crypto engine used in i.mx8mn (i.MX 8M "Nano"),
which is very similar to the one used in i.mx8mq, i.mx8mm.

Since the clocks are identical for all members of i.MX 8M family,
simplify the SoC <--> clock array mapping table.

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Tested-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/ctrl.c