]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Documentation: rng: Add X-Gene SoC RNG driver documentation
authorFeng Kan <fkan@apm.com>
Fri, 22 Aug 2014 23:26:39 +0000 (16:26 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 29 Aug 2014 13:46:40 +0000 (21:46 +0800)
Add X-Gene SoC RNG driver documentation.

Signed-off-by: Feng Kan <fkan@apm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/devicetree/bindings/rng/apm,rng.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/rng/apm,rng.txt b/Documentation/devicetree/bindings/rng/apm,rng.txt
new file mode 100644 (file)
index 0000000..4dde4b0
--- /dev/null
@@ -0,0 +1,17 @@
+APM X-Gene SoC random number generator.
+
+Required properties:
+
+- compatible  : should be "apm,xgene-rng"
+- reg         : specifies base physical address and size of the registers map
+- clocks      : phandle to clock-controller plus clock-specifier pair
+- interrupts  : specify the fault interrupt for the RNG device
+
+Example:
+
+       rng: rng@10520000 {
+               compatible = "apm,xgene-rng";
+               reg = <0x0 0x10520000 0x0 0x100>;
+               interrupts =   <0x0 0x41 0x4>;
+               clocks = <&rngpkaclk 0>;
+       };