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


Groups > linux.kernel > #1694344

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

Path csiph.com!weretis.net!feeder6.news.weretis.net!news.glorb.com!bofh.it!news.nic.it!robomod
From Martin Kaiser <martin@kaiser.cx>
Newsgroups linux.kernel
Subject [PATCH v6 1/3] Documentation: devicetree: add Freescale RNGC binding
Date Sun, 23 Jul 2017 20:00:01 +0200
Message-ID <u6tkB-27m-3@gated-at.bofh.it> (permalink)
References <u4m3U-1ZS-17@gated-at.bofh.it>
X-Original-To Steffen Trumtrar <s.trumtrar@pengutronix.de>, Shawn Guo <shawnguo@kernel.org>, Herbert Xu <herbert@gondor.apana.org.au>
X-Mailer git-send-email 2.1.4
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 62
Organization linux.* mail to news gateway
X-Original-Cc PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>, Mark Rutland <mark.rutland@arm.com>, devicetree@vger.kernel.org, Rob Herring <robh+dt@kernel.org>, linux-crypto@vger.kernel.org, kernel@pengutronix.de, Fabio Estevam <festevam@gmail.com>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kaiser <martin@kaiser.cx>
X-Original-Date Sun, 23 Jul 2017 19:49:04 +0200
X-Original-Message-ID <1500832146-8660-1-git-send-email-martin@kaiser.cx>
X-Original-References <1457705200-16951-1-git-send-email-s.trumtrar@pengutronix.de>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1694344

Show key headers only | 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 v6:
  - be more precise about rngc and rngb
  - get rid of mxc, rename the file to imx-rngc.txt
  - reformat the compatible strings
  - use RNGC instead of RNG
  - clarify that clock is not optional (remove "should contain")

Changes in v5:
  none

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/imx-rngc.txt | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rng/imx-rngc.txt

diff --git a/Documentation/devicetree/bindings/rng/imx-rngc.txt b/Documentation/devicetree/bindings/rng/imx-rngc.txt
new file mode 100644
index 0000000..93c7174
--- /dev/null
+++ b/Documentation/devicetree/bindings/rng/imx-rngc.txt
@@ -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>;
+};
-- 
2.1.4

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


Thread

[PATCH v6 1/3] Documentation: devicetree: add Freescale RNGC binding Martin Kaiser <martin@kaiser.cx> - 2017-07-23 20:00 +0200
  [PATCH v6 3/3] hwrng: add a driver for Freescale RNGC Martin Kaiser <martin@kaiser.cx> - 2017-07-23 20:00 +0200
  [PATCH v6 2/3] ARM: i.MX25: add RNGB node to dtsi Martin Kaiser <martin@kaiser.cx> - 2017-07-23 20:00 +0200
  Re: [PATCH v6 1/3] Documentation: devicetree: add Freescale RNGC binding Rob Herring <robh+dt@kernel.org> - 2017-07-27 01:00 +0200

csiph-web