All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
To: "Matt Mackall" <mpm@selenic.com>,
	"Herbert Xu" <herbert@gondor.apana.org.au>,
	"Rob Herring" <robh+dt@kernel.org>,
	"Nicolas Ferre" <nicolas.ferre@microchip.com>,
	"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
	"Ludovic Desroches" <ludovic.desroches@microchip.com>,
	"Avi Fishman" <avifishman70@gmail.com>,
	"Tomer Maimon" <tmaimon77@gmail.com>,
	"Tali Perry" <tali.perry1@gmail.com>,
	"Patrick Venture" <venture@google.com>,
	"Nancy Yuen" <yuenn@google.com>,
	"Benjamin Fair" <benjaminfair@google.com>,
	"Krzysztof Kozlowski" <krzysztof.kozlowski@canonical.com>,
	"Khuong Dinh" <khuong@os.amperecomputing.com>,
	"Patrice Chotard" <patrice.chotard@foss.st.com>,
	"Nishanth Menon" <nm@ti.com>,
	"Santosh Shilimkar" <ssantosh@kernel.org>,
	"Pali Rohár" <pali@kernel.org>,
	"Tony Lindgren" <tony@atomide.com>,
	linux-crypto@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, openbmc@lists.ozlabs.org
Subject: [PATCH 7/8] dt-bindings: rng: st,rng: convert ST RNG to dtschema
Date: Mon, 27 Dec 2021 19:32:50 +0100	[thread overview]
Message-ID: <20211227183251.132525-7-krzysztof.kozlowski@canonical.com> (raw)
In-Reply-To: <20211227183251.132525-1-krzysztof.kozlowski@canonical.com>

Convert the ST RNG bindings to DT schema.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 .../devicetree/bindings/rng/st,rng.txt        | 15 --------
 .../devicetree/bindings/rng/st,rng.yaml       | 35 +++++++++++++++++++
 2 files changed, 35 insertions(+), 15 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/rng/st,rng.txt
 create mode 100644 Documentation/devicetree/bindings/rng/st,rng.yaml

diff --git a/Documentation/devicetree/bindings/rng/st,rng.txt b/Documentation/devicetree/bindings/rng/st,rng.txt
deleted file mode 100644
index 35734bc282e9..000000000000
--- a/Documentation/devicetree/bindings/rng/st,rng.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-STMicroelectronics HW Random Number Generator
-----------------------------------------------
-
-Required parameters:
-compatible	: Should be "st,rng"
-reg		: Base address and size of IP's register map.
-clocks		: Phandle to device's clock (See: ../clocks/clock-bindings.txt)
-
-Example:
-
-rng@fee80000 {
-	compatible      = "st,rng";
-	reg		= <0xfee80000 0x1000>;
-	clocks          = <&clk_sysin>;
-}
diff --git a/Documentation/devicetree/bindings/rng/st,rng.yaml b/Documentation/devicetree/bindings/rng/st,rng.yaml
new file mode 100644
index 000000000000..ff1211ef9046
--- /dev/null
+++ b/Documentation/devicetree/bindings/rng/st,rng.yaml
@@ -0,0 +1,35 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/rng/st,rng.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: STMicroelectronics Hardware Random Number Generator
+
+maintainers:
+  - Patrice Chotard <patrice.chotard@foss.st.com>
+
+properties:
+  compatible:
+    const: st,rng
+
+  clocks:
+    maxItems: 1
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - clocks
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    rng@fee80000 {
+        compatible = "st,rng";
+        reg = <0xfee80000 0x1000>;
+        clocks = <&clk_sysin>;
+    };
-- 
2.32.0


WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
To: "Matt Mackall" <mpm@selenic.com>,
	"Herbert Xu" <herbert@gondor.apana.org.au>,
	"Rob Herring" <robh+dt@kernel.org>,
	"Nicolas Ferre" <nicolas.ferre@microchip.com>,
	"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
	"Ludovic Desroches" <ludovic.desroches@microchip.com>,
	"Avi Fishman" <avifishman70@gmail.com>,
	"Tomer Maimon" <tmaimon77@gmail.com>,
	"Tali Perry" <tali.perry1@gmail.com>,
	"Patrick Venture" <venture@google.com>,
	"Nancy Yuen" <yuenn@google.com>,
	"Benjamin Fair" <benjaminfair@google.com>,
	"Krzysztof Kozlowski" <krzysztof.kozlowski@canonical.com>,
	"Khuong Dinh" <khuong@os.amperecomputing.com>,
	"Patrice Chotard" <patrice.chotard@foss.st.com>,
	"Nishanth Menon" <nm@ti.com>,
	"Santosh Shilimkar" <ssantosh@kernel.org>,
	"Pali Rohár" <pali@kernel.org>,
	"Tony Lindgren" <tony@atomide.com>,
	linux-crypto@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, openbmc@lists.ozlabs.org
Subject: [PATCH 7/8] dt-bindings: rng: st,rng: convert ST RNG to dtschema
Date: Mon, 27 Dec 2021 19:32:50 +0100	[thread overview]
Message-ID: <20211227183251.132525-7-krzysztof.kozlowski@canonical.com> (raw)
In-Reply-To: <20211227183251.132525-1-krzysztof.kozlowski@canonical.com>

Convert the ST RNG bindings to DT schema.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 .../devicetree/bindings/rng/st,rng.txt        | 15 --------
 .../devicetree/bindings/rng/st,rng.yaml       | 35 +++++++++++++++++++
 2 files changed, 35 insertions(+), 15 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/rng/st,rng.txt
 create mode 100644 Documentation/devicetree/bindings/rng/st,rng.yaml

diff --git a/Documentation/devicetree/bindings/rng/st,rng.txt b/Documentation/devicetree/bindings/rng/st,rng.txt
deleted file mode 100644
index 35734bc282e9..000000000000
--- a/Documentation/devicetree/bindings/rng/st,rng.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-STMicroelectronics HW Random Number Generator
-----------------------------------------------
-
-Required parameters:
-compatible	: Should be "st,rng"
-reg		: Base address and size of IP's register map.
-clocks		: Phandle to device's clock (See: ../clocks/clock-bindings.txt)
-
-Example:
-
-rng@fee80000 {
-	compatible      = "st,rng";
-	reg		= <0xfee80000 0x1000>;
-	clocks          = <&clk_sysin>;
-}
diff --git a/Documentation/devicetree/bindings/rng/st,rng.yaml b/Documentation/devicetree/bindings/rng/st,rng.yaml
new file mode 100644
index 000000000000..ff1211ef9046
--- /dev/null
+++ b/Documentation/devicetree/bindings/rng/st,rng.yaml
@@ -0,0 +1,35 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/rng/st,rng.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: STMicroelectronics Hardware Random Number Generator
+
+maintainers:
+  - Patrice Chotard <patrice.chotard@foss.st.com>
+
+properties:
+  compatible:
+    const: st,rng
+
+  clocks:
+    maxItems: 1
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - clocks
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    rng@fee80000 {
+        compatible = "st,rng";
+        reg = <0xfee80000 0x1000>;
+        clocks = <&clk_sysin>;
+    };
-- 
2.32.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2021-12-27 18:33 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-27 18:32 [PATCH 1/8] dt-bindings: rng: apm,x-gene-rng: convert APM RNG to dtschema Krzysztof Kozlowski
2021-12-27 18:32 ` [PATCH 1/8] dt-bindings: rng: apm, x-gene-rng: " Krzysztof Kozlowski
2021-12-27 18:32 ` [PATCH 2/8] dt-bindings: rng: atmel,at91-trng: convert Atmel TRNG " Krzysztof Kozlowski
2021-12-27 18:32   ` [PATCH 2/8] dt-bindings: rng: atmel, at91-trng: " Krzysztof Kozlowski
2021-12-28 12:54   ` [PATCH 2/8] dt-bindings: rng: atmel,at91-trng: " Rob Herring
2021-12-28 12:54     ` [PATCH 2/8] dt-bindings: rng: atmel, at91-trng: " Rob Herring
2021-12-28 12:54     ` Rob Herring
2021-12-28 13:07     ` [PATCH 2/8] dt-bindings: rng: atmel,at91-trng: " Krzysztof Kozlowski
2021-12-28 13:07       ` [PATCH 2/8] dt-bindings: rng: atmel, at91-trng: " Krzysztof Kozlowski
2022-01-03 17:36       ` [PATCH 2/8] dt-bindings: rng: atmel,at91-trng: " Nicolas Ferre
2022-01-03 17:36         ` [PATCH 2/8] dt-bindings: rng: atmel, at91-trng: " Nicolas Ferre
2021-12-27 18:32 ` [PATCH 3/8] dt-bindings: rng: atmel,at91-trng: document sama7g5 TRNG Krzysztof Kozlowski
2021-12-27 18:32   ` Krzysztof Kozlowski
2022-01-03 17:35   ` Nicolas Ferre
2022-01-03 17:35     ` Nicolas Ferre
2021-12-27 18:32 ` [PATCH 4/8] dt-bindings: rng: ti,keystone-rng: convert TI Keystone RNG to dtschema Krzysztof Kozlowski
2021-12-27 18:32   ` [PATCH 4/8] dt-bindings: rng: ti, keystone-rng: " Krzysztof Kozlowski
2021-12-27 18:32 ` [PATCH 5/8] dt-bindings: rng: nuvoton,npcm-rng: convert Nuvoton NPCM " Krzysztof Kozlowski
2021-12-27 18:32   ` [PATCH 5/8] dt-bindings: rng: nuvoton, npcm-rng: " Krzysztof Kozlowski
2021-12-27 18:32 ` [PATCH 6/8] dt-bindings: rng: ti,omap-rom-rng: convert OMAP ROM " Krzysztof Kozlowski
2021-12-27 18:32   ` [PATCH 6/8] dt-bindings: rng: ti, omap-rom-rng: " Krzysztof Kozlowski
2021-12-27 18:32 ` Krzysztof Kozlowski [this message]
2021-12-27 18:32   ` [PATCH 7/8] dt-bindings: rng: st,rng: convert ST " Krzysztof Kozlowski
2021-12-27 18:32 ` [PATCH 8/8] dt-bindings: rng: timeriomem_rng: convert TimerIO " Krzysztof Kozlowski
2021-12-27 18:32   ` Krzysztof Kozlowski
2022-01-05 13:30 ` [PATCH 1/8] dt-bindings: rng: apm,x-gene-rng: convert APM " Rob Herring
2022-01-05 13:30   ` [PATCH 1/8] dt-bindings: rng: apm, x-gene-rng: " Rob Herring
2022-01-05 13:30   ` Rob Herring

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=20211227183251.132525-7-krzysztof.kozlowski@canonical.com \
    --to=krzysztof.kozlowski@canonical.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=avifishman70@gmail.com \
    --cc=benjaminfair@google.com \
    --cc=devicetree@vger.kernel.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=khuong@os.amperecomputing.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ludovic.desroches@microchip.com \
    --cc=mpm@selenic.com \
    --cc=nicolas.ferre@microchip.com \
    --cc=nm@ti.com \
    --cc=openbmc@lists.ozlabs.org \
    --cc=pali@kernel.org \
    --cc=patrice.chotard@foss.st.com \
    --cc=robh+dt@kernel.org \
    --cc=ssantosh@kernel.org \
    --cc=tali.perry1@gmail.com \
    --cc=tmaimon77@gmail.com \
    --cc=tony@atomide.com \
    --cc=venture@google.com \
    --cc=yuenn@google.com \
    /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.