2020-03-25 05:50:58

by Hadar Gat

[permalink] [raw]
Subject: [PATCH v6 0/3] hw_random: introduce Arm CryptoCell TRNG driver

The Arm CryptoCell is a hardware security engine.
This patch introduces driver for its TRNG (True Random Number Generator)
engine.

v6 change: add missing initialization of hwrng quality.

v5 changes:
1. in arm-cctrng.yaml, fixed error in 'make dt_binding_check'
2. in cctrng.c, clean up cctrng clock handling

v4 changes: update arm-cctrng.yaml to conform with json-schema standard.

v3 change: removed few unneeded "#ifdef CONFIG_PM" from the code.

v2 changes: fixed 'make dt_bnding_check' errors.

Hadar Gat (3):
dt-bindings: add device tree binding for Arm CryptoCell trng engine
hw_random: cctrng: introduce Arm CryptoCell driver
MAINTAINERS: add HG as cctrng maintainer

.../devicetree/bindings/rng/arm-cctrng.yaml | 55 ++
MAINTAINERS | 9 +
drivers/char/hw_random/Kconfig | 12 +
drivers/char/hw_random/Makefile | 1 +
drivers/char/hw_random/cctrng.c | 736 +++++++++++++++++++++
drivers/char/hw_random/cctrng.h | 72 ++
6 files changed, 885 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rng/arm-cctrng.yaml
create mode 100644 drivers/char/hw_random/cctrng.c
create mode 100644 drivers/char/hw_random/cctrng.h

--
2.7.4