[PATCH v2 0/2] hwrng: add support for Silex Insight BA431

From: Olivier Sobrie
Date: Mon Jun 01 2020 - 16:28:13 EST


Hello all,

This set of patches aims at introducing a linux hwrng driver for the
Silex Insight BA431 IP which is available for various FPGA.
This hardware is for instance present in Silex Insight Viper OEM boards.

The first patch documents the device tree bindings.
The second one contains the BA431 hwrng driver.

Olivier Sobrie (2):
dt-bindings: rng: document Silex Insight BA431 hwrng
hwrng: ba431-rng: add support for BA431 hwrng

.../bindings/rng/silex-insight,ba431-rng.yaml | 36 +++
drivers/char/hw_random/Kconfig | 12 +
drivers/char/hw_random/Makefile | 1 +
drivers/char/hw_random/ba431-rng.c | 234 ++++++++++++++++++
4 files changed, 283 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rng/silex-insight,ba431-rng.yaml
create mode 100644 drivers/char/hw_random/ba431-rng.c

Changes in v2:
- Dropped the first patch that has been applied by Rob.
- Added Rob's review tag in the first patch.
- Fixed copyright header.
- Added missing endpoint and "If unsure, say Y" in the Kconfig like it is
done for the other rng drivers.
- Replaced the udelay() loop by readx_poll_timeout() in the driver.
- Added Arnd's ack in the second patch.

--
2.26.2