[RESEND PATCH 0/2] hw_random: Add Amlogic Meson SoCs Random Generator driver

From: Neil Armstrong
Date: Wed Jun 15 2016 - 06:02:03 EST


NOTE: This is a resent of the DT Bindings and DTSI patches based on the Amlogic DT 64bit
GIT pull request from Kevin Hilman at [1].

Changes since v2 at http://lkml.kernel.org/r/1465546915-24229-1-git-send-email-narmstrong@xxxxxxxxxxxx :
- Move rng peripheral node into periphs simple-bus node

Add support for the Amlogic Meson SoCs Hardware Random generator as a hw_random char driver.
The generator is a single 32bit wide register.
Also adds the Meson GXBB SoC DTSI node and corresponding DT bindings.

Changes since v1 at http://lkml.kernel.org/r/1464943621-18278-1-git-send-email-narmstrong@xxxxxxxxxxxx :
- change to depend on ARCH_MESON || COMPILE_TEST
- check buffer max size in read

[1] [GIT PULL] Amlogic DT 64-bit changes for v4.8 : http://lkml.kernel.org/r/7hshwfbiit.fsf@xxxxxxxxxxxx

Neil Armstrong (2):
dt-bindings: hwrng: Add Amlogic Meson Hardware Random Generator
bindings
ARM64: dts: meson-gxbb: Add Hardware Random Generator node

.../devicetree/bindings/rng/amlogic,meson-rng.txt | 14 ++++++++++++++
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 5 +++++
2 files changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rng/amlogic,meson-rng.txt

--
2.7.0