devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/3] dt-bindings: hwrng: Add Amlogic Meson Hardware Random Generator bindings
       [not found] <1464943621-18278-1-git-send-email-narmstrong@baylibre.com>
@ 2016-06-03  8:47 ` Neil Armstrong
  2016-06-06 14:10   ` Rob Herring
  2016-06-03  8:47 ` [PATCH 3/3] ARM64: dts: meson-gxbb: Add Hardware Random Generator node Neil Armstrong
  1 sibling, 1 reply; 3+ messages in thread
From: Neil Armstrong @ 2016-06-03  8:47 UTC (permalink / raw)
  To: Matt Mackall, Herbert Xu
  Cc: Neil Armstrong, linux-arm-kernel, linux-amlogic, linux-kernel,
	linux-crypto, devicetree

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 .../devicetree/bindings/rng/amlogic,meson-rng.txt          | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rng/amlogic,meson-rng.txt

diff --git a/Documentation/devicetree/bindings/rng/amlogic,meson-rng.txt b/Documentation/devicetree/bindings/rng/amlogic,meson-rng.txt
new file mode 100644
index 0000000..202f2d0
--- /dev/null
+++ b/Documentation/devicetree/bindings/rng/amlogic,meson-rng.txt
@@ -0,0 +1,14 @@
+Amlogic Meson Random number generator
+=====================================
+
+Required properties:
+
+- compatible : should be "amlogic,meson-rng"
+- reg : Specifies base physical address and size of the registers.
+
+Example:
+
+rng {
+        compatible = "amlogic,meson-rng";
+        reg = <0x0 0xc8834000 0x0 0x4>;
+};
-- 
2.7.0

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

* [PATCH 3/3] ARM64: dts: meson-gxbb: Add Hardware Random Generator node
       [not found] <1464943621-18278-1-git-send-email-narmstrong@baylibre.com>
  2016-06-03  8:47 ` [PATCH 2/3] dt-bindings: hwrng: Add Amlogic Meson Hardware Random Generator bindings Neil Armstrong
@ 2016-06-03  8:47 ` Neil Armstrong
  1 sibling, 0 replies; 3+ messages in thread
From: Neil Armstrong @ 2016-06-03  8:47 UTC (permalink / raw)
  To: Matt Mackall, Herbert Xu
  Cc: Neil Armstrong, linux-arm-kernel, linux-amlogic, linux-kernel,
	linux-crypto, devicetree

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
index 832815d..8353621 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
@@ -167,6 +167,11 @@
 			};
 		};
 
+		rng {
+			compatible = "amlogic,meson-rng";
+			reg = <0x0 0xc8834000 0x0 0x4>;
+		};
+
 		apb: apb@d0000000 {
 			compatible = "simple-bus";
 			reg = <0x0 0xd0000000 0x0 0x200000>;
-- 
2.7.0

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

* Re: [PATCH 2/3] dt-bindings: hwrng: Add Amlogic Meson Hardware Random Generator bindings
  2016-06-03  8:47 ` [PATCH 2/3] dt-bindings: hwrng: Add Amlogic Meson Hardware Random Generator bindings Neil Armstrong
@ 2016-06-06 14:10   ` Rob Herring
  0 siblings, 0 replies; 3+ messages in thread
From: Rob Herring @ 2016-06-06 14:10 UTC (permalink / raw)
  To: Neil Armstrong
  Cc: Matt Mackall, Herbert Xu, linux-arm-kernel, linux-amlogic,
	linux-kernel, linux-crypto, devicetree

On Fri, Jun 03, 2016 at 10:47:00AM +0200, Neil Armstrong wrote:
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> ---
>  .../devicetree/bindings/rng/amlogic,meson-rng.txt          | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/rng/amlogic,meson-rng.txt

Acked-by: Rob Herring <robh@kernel.org>

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1464943621-18278-1-git-send-email-narmstrong@baylibre.com>
2016-06-03  8:47 ` [PATCH 2/3] dt-bindings: hwrng: Add Amlogic Meson Hardware Random Generator bindings Neil Armstrong
2016-06-06 14:10   ` Rob Herring
2016-06-03  8:47 ` [PATCH 3/3] ARM64: dts: meson-gxbb: Add Hardware Random Generator node Neil Armstrong

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).