]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Documentation: devicetree: add Freescale RNGC binding
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>
Sun, 23 Jul 2017 17:49:04 +0000 (19:49 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 3 Aug 2017 06:00:20 +0000 (14:00 +0800)
Add binding documentation for the Freescale RNGC found on
some i.MX2/3 SoCs.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/devicetree/bindings/rng/imx-rngc.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/rng/imx-rngc.txt b/Documentation/devicetree/bindings/rng/imx-rngc.txt
new file mode 100644 (file)
index 0000000..93c7174
--- /dev/null
@@ -0,0 +1,21 @@
+Freescale RNGC (Random Number Generator Version C)
+
+The driver also supports version B, which is mostly compatible
+to version C.
+
+Required properties:
+- compatible : should be one of
+               "fsl,imx25-rngb"
+               "fsl,imx35-rngc"
+- reg : offset and length of the register set of this block
+- interrupts : the interrupt number for the RNGC block
+- clocks : the RNGC clk source
+
+Example:
+
+rng@53fb0000 {
+       compatible = "fsl,imx25-rngb";
+       reg = <0x53fb0000 0x4000>;
+       interrupts = <22>;
+       clocks = <&trng_clk>;
+};