[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1500546435-29905-1-git-send-email-martin@kaiser.cx>
Date: Thu, 20 Jul 2017 12:27:13 +0200
From: Martin Kaiser <martin@...ser.cx>
To: Steffen Trumtrar <s.trumtrar@...gutronix.de>,
Shawn Guo <shawnguo@...nel.org>,
Herbert Xu <herbert@...dor.apana.org.au>
Cc: PrasannaKumar Muralidharan <prasannatsmkumar@...il.com>,
Mark Rutland <mark.rutland@....com>,
devicetree@...r.kernel.org, Rob Herring <robh+dt@...nel.org>,
linux-crypto@...r.kernel.org, kernel@...gutronix.de,
Fabio Estevam <festevam@...il.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Martin Kaiser <martin@...ser.cx>
Subject: [PATCH v4 1/3] Documentation: devicetree: add Freescale RNGC binding
From: Steffen Trumtrar <s.trumtrar@...gutronix.de>
Add binding documentation for the Freescale RNGC found on
some i.MX2/3 SoCs.
Signed-off-by: Steffen Trumtrar <s.trumtrar@...gutronix.de>
Signed-off-by: Martin Kaiser <martin@...ser.cx>
---
Changes in v4:
none
Changes in v3:
- add compatible string for imx35
- remove imx5 from the commit message,
I couldn't find an i.MX SOC that has RNGC
Changes in v2:
none
Documentation/devicetree/bindings/rng/mxc_rngc.txt | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rng/mxc_rngc.txt
diff --git a/Documentation/devicetree/bindings/rng/mxc_rngc.txt b/Documentation/devicetree/bindings/rng/mxc_rngc.txt
new file mode 100644
index 0000000..5a12ada
--- /dev/null
+++ b/Documentation/devicetree/bindings/rng/mxc_rngc.txt
@@ -0,0 +1,16 @@
+Freescale RNGC (Random Number Generator Version C)
+
+Required properties:
+- compatible : Should be "fsl,imx25-rng" or "fsl,imx35-rng"
+- reg : Offset and length of the register set of this block
+- interrupts : the interrupt number for the RNG block
+- clocks: should contain the RNG clk source
+
+Example:
+
+rng@...b0000 {
+ compatible = "fsl,imx25-rng";
+ reg = <0x53fb0000 0x4000>;
+ interrupts = <22>;
+ clocks = <&trng_clk>;
+};
--
2.1.4
Powered by blists - more mailing lists