linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] hw_random: Add Amlogic Meson SoCs Random Generator driver
@ 2016-06-10  8:21 Neil Armstrong
  2016-06-10  8:21 ` [PATCH v2 1/3] char: hw_random: Add Amlogic Meson Hardware Random Generator Neil Armstrong
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Neil Armstrong @ 2016-06-10  8:21 UTC (permalink / raw)
  To: Matt Mackall, Herbert Xu
  Cc: Neil Armstrong, linux-arm-kernel, linux-amlogic, linux-kernel,
	linux-crypto

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@baylibre.com :
- change to depend on ARCH_MESON || COMPILE_TEST
- check buffer max size in read

Neil Armstrong (3):
  char: hw_random: Add Amlogic Meson Hardware Random Generator
  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 +
 drivers/char/hw_random/Kconfig                     |  14 +++
 drivers/char/hw_random/Makefile                    |   1 +
 drivers/char/hw_random/meson-rng.c                 | 131 +++++++++++++++++++++
 5 files changed, 165 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rng/amlogic,meson-rng.txt
 create mode 100644 drivers/char/hw_random/meson-rng.c

-- 
2.7.0

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-06-14 10:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-10  8:21 [PATCH v2 0/3] hw_random: Add Amlogic Meson SoCs Random Generator driver Neil Armstrong
2016-06-10  8:21 ` [PATCH v2 1/3] char: hw_random: Add Amlogic Meson Hardware Random Generator Neil Armstrong
2016-06-10  8:21 ` [PATCH v2 2/3] dt-bindings: hwrng: Add Amlogic Meson Hardware Random Generator bindings Neil Armstrong
2016-06-10  8:21 ` [PATCH v2 3/3] ARM64: dts: meson-gxbb: Add Hardware Random Generator node Neil Armstrong
2016-06-13 22:09   ` Kevin Hilman
2016-06-14  4:59     ` Neil Armstrong
2016-06-13 12:31 ` [PATCH v2 0/3] hw_random: Add Amlogic Meson SoCs Random Generator driver Herbert Xu
2016-06-13 22:10   ` Kevin Hilman
2016-06-14 10:33     ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).