All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Kaiser <martin@kaiser.cx>
To: Steffen Trumtrar <s.trumtrar@pengutronix.de>,
	Shawn Guo <shawnguo@kernel.org>,
	Herbert Xu <herbert@gondor.apana.org.au>
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>
Subject: [PATCH v6 1/3] Documentation: devicetree: add Freescale RNGC binding
Date: Sun, 23 Jul 2017 19:49:04 +0200	[thread overview]
Message-ID: <1500832146-8660-1-git-send-email-martin@kaiser.cx> (raw)
In-Reply-To: <1457705200-16951-1-git-send-email-s.trumtrar@pengutronix.de>

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

WARNING: multiple messages have this Message-ID (diff)
From: martin@kaiser.cx (Martin Kaiser)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v6 1/3] Documentation: devicetree: add Freescale RNGC binding
Date: Sun, 23 Jul 2017 19:49:04 +0200	[thread overview]
Message-ID: <1500832146-8660-1-git-send-email-martin@kaiser.cx> (raw)
In-Reply-To: <1457705200-16951-1-git-send-email-s.trumtrar@pengutronix.de>

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 at 53fb0000 {
+	compatible = "fsl,imx25-rngb";
+	reg = <0x53fb0000 0x4000>;
+	interrupts = <22>;
+	clocks = <&trng_clk>;
+};
-- 
2.1.4

  parent reply	other threads:[~2017-07-23 17:50 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-11 14:06 [PATCH v2 1/3] Documentation: devicetree: add Freescale RNGC binding Steffen Trumtrar
2016-03-11 14:06 ` Steffen Trumtrar
2016-03-11 14:06 ` [PATCH v2 2/3] ARM: i.MX25: add RNGC node to dtsi Steffen Trumtrar
2016-03-11 14:06   ` Steffen Trumtrar
     [not found]   ` <1457705200-16951-2-git-send-email-s.trumtrar-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2016-04-01  8:52     ` Shawn Guo
2016-04-01  8:52       ` Shawn Guo
2017-07-17 21:05       ` Martin Kaiser
2017-07-17 21:05         ` Martin Kaiser
2016-03-11 14:06 ` [PATCH v2 3/3] hwrng: mxc-fsl - add support for Freescale RNGC Steffen Trumtrar
2016-03-11 14:06   ` Steffen Trumtrar
2016-03-11 15:44   ` Vladimir Zapolskiy
2016-03-11 15:44     ` Vladimir Zapolskiy
2016-03-11 15:44     ` Vladimir Zapolskiy
2017-07-17 21:01     ` Martin Kaiser
2017-07-17 21:01       ` Martin Kaiser
2016-03-18 19:42 ` [PATCH v2 1/3] Documentation: devicetree: add Freescale RNGC binding Rob Herring
2016-03-18 19:42   ` Rob Herring
2017-07-17 21:04   ` Martin Kaiser
2017-07-17 21:04     ` Martin Kaiser
     [not found] ` <1457705200-16951-1-git-send-email-s.trumtrar-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2017-07-17 21:16   ` [PATCH v3 " Martin Kaiser
2017-07-17 21:16     ` Martin Kaiser
2017-07-17 21:16     ` Martin Kaiser
2017-07-17 21:16     ` [PATCH v3 2/3] ARM: i.MX25: add RNGC node to dtsi Martin Kaiser
2017-07-17 21:16       ` Martin Kaiser
     [not found]     ` <1500326163-4556-1-git-send-email-martin-XxZfDwE/svGeZLLa646FqQ@public.gmane.org>
2017-07-17 21:16       ` [PATCH 3/3] hwrng: mxc-fsl - add support for Freescale RNGC Martin Kaiser
2017-07-17 21:16         ` Martin Kaiser
2017-07-17 21:16         ` Martin Kaiser
2017-07-18  5:49         ` PrasannaKumar Muralidharan
2017-07-18  5:49           ` PrasannaKumar Muralidharan
2017-07-19 21:22           ` Martin Kaiser
2017-07-19 21:22             ` Martin Kaiser
2017-07-20 20:27   ` [PATCH v5 1/3] Documentation: devicetree: add Freescale RNGC binding Martin Kaiser
2017-07-20 20:27     ` Martin Kaiser
2017-07-20 20:27     ` Martin Kaiser
2017-07-20 20:27     ` [PATCH v5 2/3] ARM: i.MX25: add RNGC node to dtsi Martin Kaiser
2017-07-20 20:27       ` Martin Kaiser
2017-07-20 20:27     ` [PATCH v5 3/3] hwrng: mxc-fsl - add support for Freescale RNGC Martin Kaiser
2017-07-20 20:27       ` Martin Kaiser
2017-07-20 21:34     ` [PATCH v5 1/3] Documentation: devicetree: add Freescale RNGC binding Rob Herring
2017-07-20 21:34       ` Rob Herring
2017-07-20 21:34       ` Rob Herring
2017-07-20 10:27 ` [PATCH v4 " Martin Kaiser
2017-07-20 10:27   ` Martin Kaiser
2017-07-20 10:27   ` [PATCH v4 2/3] ARM: i.MX25: add RNGC node to dtsi Martin Kaiser
2017-07-20 10:27     ` Martin Kaiser
2017-07-20 10:27   ` [PATCH v4 3/3] hwrng: mxc-fsl - add support for Freescale RNGC Martin Kaiser
2017-07-20 10:27     ` Martin Kaiser
     [not found]     ` <1500546435-29905-3-git-send-email-martin-XxZfDwE/svGeZLLa646FqQ@public.gmane.org>
2017-07-20 13:10       ` PrasannaKumar Muralidharan
2017-07-20 13:10         ` PrasannaKumar Muralidharan
2017-07-20 13:10         ` PrasannaKumar Muralidharan
2017-07-23 17:49 ` Martin Kaiser [this message]
2017-07-23 17:49   ` [PATCH v6 1/3] Documentation: devicetree: add Freescale RNGC binding Martin Kaiser
2017-07-23 17:49   ` [PATCH v6 2/3] ARM: i.MX25: add RNGB node to dtsi Martin Kaiser
2017-07-23 17:49     ` Martin Kaiser
2017-08-05  1:23     ` Shawn Guo
2017-08-05  1:23       ` Shawn Guo
2017-07-23 17:49   ` [PATCH v6 3/3] hwrng: add a driver for Freescale RNGC Martin Kaiser
2017-07-23 17:49     ` Martin Kaiser
2017-08-03  6:26     ` Herbert Xu
2017-08-03  6:26       ` Herbert Xu
     [not found]   ` <1500832146-8660-1-git-send-email-martin-XxZfDwE/svGeZLLa646FqQ@public.gmane.org>
2017-07-26 22:55     ` [PATCH v6 1/3] Documentation: devicetree: add Freescale RNGC binding Rob Herring
2017-07-26 22:55       ` Rob Herring
2017-07-26 22:55       ` Rob Herring
2017-08-03  6:25     ` Herbert Xu
2017-08-03  6:25       ` Herbert Xu
2017-08-03  6:25       ` Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1500832146-8660-1-git-send-email-martin@kaiser.cx \
    --to=martin@kaiser.cx \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=prasannatsmkumar@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=s.trumtrar@pengutronix.de \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.