[PATCH v3 0/5] crypto: caam - Add i.MX8MQ support

From: Andrey Smirnov
Date: Mon Jun 17 2019 - 12:08:54 EST


Picking up where Chris left off (I chatted with him privately
beforehead), this series adds support for i.MX8MQ to CAAM driver. Just
like [v1], this series is i.MX8MQ only.

Feedback is welcome!
Andrey Smirnov

Changes since [v2]:

- Dropped "crypto: caam - do not initialise clocks on the i.MX8" and
replaced it with "crypto: caam - simplfy clock initialization" and
"crypto: caam - add clock entry for i.MX8MQ"

Changes since [v1]

- Series reworked to continue using register based interface for
queueing RNG initialization job, dropping "crypto: caam - use job
ring for RNG instantiation instead of DECO"

- Added a patch to share DMA mask selection code

- Added missing Signed-off-by for authors of original NXP tree
commits that this sereis is based on

[v2] lore.kernel.org/r/20190607200225.21419-1-andrew.smirnov@xxxxxxxxx
[v1] https://patchwork.kernel.org/cover/10825625/

Andrey Smirnov (4):
crypto: caam - move DMA mask selection into a function
crypto: caam - always select job ring via RSR on i.MX8MQ
crypto: caam - simplfy clock initialization
crypto: caam - add clock entry for i.MX8MQ

Chris Spencer (1):
crypto: caam - correct DMA address size for the i.MX8

drivers/crypto/caam/ctrl.c | 233 +++++++++++++++---------------
drivers/crypto/caam/desc_constr.h | 24 +--
drivers/crypto/caam/intern.h | 29 +++-
drivers/crypto/caam/jr.c | 15 +-
drivers/crypto/caam/pdb.h | 49 ++++---
drivers/crypto/caam/regs.h | 21 ++-
6 files changed, 193 insertions(+), 178 deletions(-)