Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1689511

[PATCH v3 1/3] Documentation: devicetree: add Freescale RNGC binding

From Martin Kaiser <martin@kaiser.cx>
Newsgroups linux.kernel
Subject [PATCH v3 1/3] Documentation: devicetree: add Freescale RNGC binding
Date 2017-07-17 23:50 +0200
Message-ID <u4m3T-1ZS-15@gated-at.bofh.it> (permalink)
References <u4m3U-1ZS-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Steffen Trumtrar <s.trumtrar@pengutronix.de>

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>
---
Changes in v3:
  - add compatible string for imx35
  - remove imx5 from the commit message,
    I couldn't find an i.MX5 soc that has an 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@53fb0000 {
+	compatible = "fsl,imx25-rng";
+	reg = <0x53fb0000 0x4000>;
+	interrupts = <22>;
+	clocks = <&trng_clk>;
+};
-- 
2.1.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v3 1/3] Documentation: devicetree: add Freescale RNGC binding Martin Kaiser <martin@kaiser.cx> - 2017-07-17 23:50 +0200
  [PATCH 3/3] hwrng: mxc-fsl - add support for Freescale RNGC Martin Kaiser <martin@kaiser.cx> - 2017-07-17 23:50 +0200
    Re: [PATCH 3/3] hwrng: mxc-fsl - add support for Freescale RNGC PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> - 2017-07-18 07:50 +0200
      Re: [PATCH 3/3] hwrng: mxc-fsl - add support for Freescale RNGC Martin Kaiser <martin@kaiser.cx> - 2017-07-19 23:30 +0200
  [PATCH v3 2/3] ARM: i.MX25: add RNGC node to dtsi Martin Kaiser <martin@kaiser.cx> - 2017-07-17 23:50 +0200

csiph-web