[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <893e967b65478a2ea0e6269e24bc7a104f2e0c07.1416475860.git.nicolas.ferre@atmel.com>
Date: Thu, 20 Nov 2014 10:43:24 +0100
From: Nicolas Ferre <nicolas.ferre@...el.com>
To: <linux-arm-kernel@...ts.infradead.org>,
<herbert@...dor.apana.org.au>
CC: <linux-kernel@...r.kernel.org>, <mpm@...enic.com>,
Boris BREZILLON <boris.brezillon@...e-electrons.com>,
Alexandre Belloni <alexandre.belloni@...e-electrons.com>,
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@...osoft.com>,
<robh+dt@...nel.org>, <mark.rutland@....com>,
<linux-crypto@...r.kernel.org>, <devicetree@...r.kernel.org>,
<peter@...sgaard.com>
Subject: [PATCH RESEND v2 3/4] hwrng: atmel: Add TRNG DT binding doc
From: Boris Brezillon <boris.brezillon@...e-electrons.com>
Document DT bindings of Atmel's TRNG (True Random Number Generator) IP.
Signed-off-by: Boris Brezillon <boris.brezillon@...e-electrons.com>
Acked-by: Peter Korsgaard <peter@...sgaard.com>
Acked-by: Nicolas Ferre <nicolas.ferre@...el.com>
---
Documentation/devicetree/bindings/hwrng/atmel-trng.txt | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwrng/atmel-trng.txt
diff --git a/Documentation/devicetree/bindings/hwrng/atmel-trng.txt b/Documentation/devicetree/bindings/hwrng/atmel-trng.txt
new file mode 100644
index 000000000000..4ac5aaa2d024
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwrng/atmel-trng.txt
@@ -0,0 +1,16 @@
+Atmel TRNG (True Random Number Generator) block
+
+Required properties:
+- compatible : Should be "atmel,at91sam9g45-trng"
+- reg : Offset and length of the register set of this block
+- interrupts : the interrupt number for the TRNG block
+- clocks: should contain the TRNG clk source
+
+Example:
+
+trng@...cc000 {
+ compatible = "atmel,at91sam9g45-trng";
+ reg = <0xfffcc000 0x4000>;
+ interrupts = <6 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&trng_clk>;
+};
--
2.1.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists