[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1454966283-14965-1-git-send-email-joshua.henderson@microchip.com>
Date: Mon, 8 Feb 2016 14:17:52 -0700
From: Joshua Henderson <joshua.henderson@...rochip.com>
To: <devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: Joshua Henderson <joshua.henderson@...rochip.com>,
Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Matt Mackall <mpm@...enic.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
Kieran Bingham <kieranbingham@...il.com>,
Lee Jones <lee.jones@...aro.org>,
Pankaj Dev <pankaj.dev@...com>,
Scott Branden <sbranden@...adcom.com>,
Daniel Thompson <daniel.thompson@...aro.org>,
Purna Chandra Mandal <purna.mandal@...rochip.com>,
Ray Jui <rjui@...adcom.com>, <linux-crypto@...r.kernel.org>
Subject: [PATCH v2 1/2] dt/bindings: Add bindings for the PIC32 random number generator
Document the devicetree bindings for the random number generator found
on Microchip PIC32 class devices.
Signed-off-by: Joshua Henderson <joshua.henderson@...rochip.com>
Acked-by: Rob Herring <robh@...nel.org>
---
.../bindings/rng/microchip,pic32-rng.txt | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rng/microchip,pic32-rng.txt
diff --git a/Documentation/devicetree/bindings/rng/microchip,pic32-rng.txt b/Documentation/devicetree/bindings/rng/microchip,pic32-rng.txt
new file mode 100644
index 0000000..c6d1003
--- /dev/null
+++ b/Documentation/devicetree/bindings/rng/microchip,pic32-rng.txt
@@ -0,0 +1,17 @@
+* Microchip PIC32 Random Number Generator
+
+The PIC32 RNG provides a pseudo random number generator which can be seeded by
+another true random number generator.
+
+Required properties:
+- compatible : should be "microchip,pic32mzda-rng"
+- reg : Specifies base physical address and size of the registers.
+- clocks: clock phandle.
+
+Example:
+
+ rng: rng@...e6000 {
+ compatible = "microchip,pic32mzda-rng";
+ reg = <0x1f8e6000 0x1000>;
+ clocks = <&PBCLK5>;
+ };
--
1.7.9.5
Powered by blists - more mailing lists