linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] dt/bindings: Add bindings for the PIC32 random number generator
@ 2016-02-08 21:17 Joshua Henderson
  2016-02-08 21:17 ` [PATCH v2 2/2] rng: pic32-rng: Add PIC32 RNG hardware driver Joshua Henderson
  2016-02-16 20:21 ` [PATCH v2 1/2] dt/bindings: Add bindings for the PIC32 random number generator Herbert Xu
  0 siblings, 2 replies; 5+ messages in thread
From: Joshua Henderson @ 2016-02-08 21:17 UTC (permalink / raw)
  To: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: Joshua Henderson, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Kumar Gala, Matt Mackall, Herbert Xu,
	Kieran Bingham, Lee Jones, Pankaj Dev, Scott Branden,
	Daniel Thompson, Purna Chandra Mandal, Ray Jui,
	linux-crypto-u79uwXL29TY76Z2rM5mHXA

Document the devicetree bindings for the random number generator found
on Microchip PIC32 class devices.

Signed-off-by: Joshua Henderson <joshua.henderson-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org>
Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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@1f8e6000 {
+		compatible = "microchip,pic32mzda-rng";
+		reg = <0x1f8e6000 0x1000>;
+		clocks = <&PBCLK5>;
+	};
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2016-02-19 17:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-08 21:17 [PATCH v2 1/2] dt/bindings: Add bindings for the PIC32 random number generator Joshua Henderson
2016-02-08 21:17 ` [PATCH v2 2/2] rng: pic32-rng: Add PIC32 RNG hardware driver Joshua Henderson
2016-02-08 21:34   ` Daniel Thompson
2016-02-16 20:21 ` [PATCH v2 1/2] dt/bindings: Add bindings for the PIC32 random number generator Herbert Xu
2016-02-19 17:23   ` Joshua Henderson

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