devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: rng: Add Marvell Armada RNG support
@ 2024-10-14 18:54 Rob Herring (Arm)
  2024-10-15  6:24 ` Krzysztof Kozlowski
  2024-10-26  6:54 ` Herbert Xu
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2024-10-14 18:54 UTC (permalink / raw)
  To: Olivia Mackall, Herbert Xu, Krzysztof Kozlowski, Conor Dooley,
	Jayesh Choudhary
  Cc: linux-crypto, devicetree, linux-kernel

The Marvell Armada RNG uses the same IP as TI from Inside Secure and is
already using the binding. The only missing part is the
"marvell,armada-8k-rng" compatible string.

Rename the binding to inside-secure,safexcel-eip76.yaml to better
reflect it is multi-vendor, licensed IP and to follow the naming
convention using compatible string.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 ...g.yaml => inside-secure,safexcel-eip76.yaml} | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)
 rename Documentation/devicetree/bindings/rng/{omap_rng.yaml => inside-secure,safexcel-eip76.yaml} (79%)

diff --git a/Documentation/devicetree/bindings/rng/omap_rng.yaml b/Documentation/devicetree/bindings/rng/inside-secure,safexcel-eip76.yaml
similarity index 79%
rename from Documentation/devicetree/bindings/rng/omap_rng.yaml
rename to Documentation/devicetree/bindings/rng/inside-secure,safexcel-eip76.yaml
index c0ac4f68ea54..0877eb44f9ed 100644
--- a/Documentation/devicetree/bindings/rng/omap_rng.yaml
+++ b/Documentation/devicetree/bindings/rng/inside-secure,safexcel-eip76.yaml
@@ -1,20 +1,25 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/rng/omap_rng.yaml#
+$id: http://devicetree.org/schemas/rng/inside-secure,safexcel-eip76.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
-title: OMAP SoC and Inside-Secure HWRNG Module
+title: Inside-Secure HWRNG Module
 
 maintainers:
   - Jayesh Choudhary <j-choudhary@ti.com>
 
 properties:
   compatible:
-    enum:
-      - ti,omap2-rng
-      - ti,omap4-rng
-      - inside-secure,safexcel-eip76
+    oneOf:
+      - enum:
+          - ti,omap2-rng
+          - ti,omap4-rng
+          - inside-secure,safexcel-eip76
+      - items:
+          - enum:
+              - marvell,armada-8k-rng
+          - const: inside-secure,safexcel-eip76
 
   ti,hwmods:
     const: rng
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: rng: Add Marvell Armada RNG support
  2024-10-14 18:54 [PATCH] dt-bindings: rng: Add Marvell Armada RNG support Rob Herring (Arm)
@ 2024-10-15  6:24 ` Krzysztof Kozlowski
  2024-10-26  6:54 ` Herbert Xu
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-10-15  6:24 UTC (permalink / raw)
  To: Rob Herring (Arm)
  Cc: Olivia Mackall, Herbert Xu, Krzysztof Kozlowski, Conor Dooley,
	Jayesh Choudhary, linux-crypto, devicetree, linux-kernel

On Mon, Oct 14, 2024 at 01:54:57PM -0500, Rob Herring (Arm) wrote:
> The Marvell Armada RNG uses the same IP as TI from Inside Secure and is
> already using the binding. The only missing part is the
> "marvell,armada-8k-rng" compatible string.
> 
> Rename the binding to inside-secure,safexcel-eip76.yaml to better
> reflect it is multi-vendor, licensed IP and to follow the naming
> convention using compatible string.
> 
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
>  ...g.yaml => inside-secure,safexcel-eip76.yaml} | 17 +++++++++++------
>  1 file changed, 11 insertions(+), 6 deletions(-)
>  rename Documentation/devicetree/bindings/rng/{omap_rng.yaml => inside-secure,safexcel-eip76.yaml} (79%)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: rng: Add Marvell Armada RNG support
  2024-10-14 18:54 [PATCH] dt-bindings: rng: Add Marvell Armada RNG support Rob Herring (Arm)
  2024-10-15  6:24 ` Krzysztof Kozlowski
@ 2024-10-26  6:54 ` Herbert Xu
  1 sibling, 0 replies; 3+ messages in thread
From: Herbert Xu @ 2024-10-26  6:54 UTC (permalink / raw)
  To: Rob Herring (Arm)
  Cc: Olivia Mackall, Krzysztof Kozlowski, Conor Dooley,
	Jayesh Choudhary, linux-crypto, devicetree, linux-kernel

On Mon, Oct 14, 2024 at 01:54:57PM -0500, Rob Herring (Arm) wrote:
> The Marvell Armada RNG uses the same IP as TI from Inside Secure and is
> already using the binding. The only missing part is the
> "marvell,armada-8k-rng" compatible string.
> 
> Rename the binding to inside-secure,safexcel-eip76.yaml to better
> reflect it is multi-vendor, licensed IP and to follow the naming
> convention using compatible string.
> 
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
>  ...g.yaml => inside-secure,safexcel-eip76.yaml} | 17 +++++++++++------
>  1 file changed, 11 insertions(+), 6 deletions(-)
>  rename Documentation/devicetree/bindings/rng/{omap_rng.yaml => inside-secure,safexcel-eip76.yaml} (79%)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-26  6:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-14 18:54 [PATCH] dt-bindings: rng: Add Marvell Armada RNG support Rob Herring (Arm)
2024-10-15  6:24 ` Krzysztof Kozlowski
2024-10-26  6:54 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).