* [PATCH] dt-bindings: crypto: Convert axis,artpec6-crypto to DT schema
@ 2025-05-13 18:40 Rob Herring (Arm)
2025-05-14 7:53 ` Krzysztof Kozlowski
2025-05-19 5:59 ` Herbert Xu
0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-05-13 18:40 UTC (permalink / raw)
To: Herbert Xu, David S. Miller, Krzysztof Kozlowski, Conor Dooley,
Lars Persson
Cc: linux-crypto, devicetree, linux-kernel
Convert the Axis Crypto engine binding to DT schema format. It's a
straight forward conversion.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
.../bindings/crypto/artpec6-crypto.txt | 16 --------
.../bindings/crypto/axis,artpec6-crypto.yaml | 39 +++++++++++++++++++
2 files changed, 39 insertions(+), 16 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/crypto/artpec6-crypto.txt
create mode 100644 Documentation/devicetree/bindings/crypto/axis,artpec6-crypto.yaml
diff --git a/Documentation/devicetree/bindings/crypto/artpec6-crypto.txt b/Documentation/devicetree/bindings/crypto/artpec6-crypto.txt
deleted file mode 100644
index d9cca4875bd6..000000000000
--- a/Documentation/devicetree/bindings/crypto/artpec6-crypto.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-Axis crypto engine with PDMA interface.
-
-Required properties:
-- compatible : Should be one of the following strings:
- "axis,artpec6-crypto" for the version in the Axis ARTPEC-6 SoC
- "axis,artpec7-crypto" for the version in the Axis ARTPEC-7 SoC.
-- reg: Base address and size for the PDMA register area.
-- interrupts: Interrupt handle for the PDMA interrupt line.
-
-Example:
-
-crypto@f4264000 {
- compatible = "axis,artpec6-crypto";
- reg = <0xf4264000 0x1000>;
- interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
-};
diff --git a/Documentation/devicetree/bindings/crypto/axis,artpec6-crypto.yaml b/Documentation/devicetree/bindings/crypto/axis,artpec6-crypto.yaml
new file mode 100644
index 000000000000..c91f81e3c39e
--- /dev/null
+++ b/Documentation/devicetree/bindings/crypto/axis,artpec6-crypto.yaml
@@ -0,0 +1,39 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/crypto/axis,artpec6-crypto.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Axis ARTPEC6 crypto engine with PDMA interface
+
+maintainers:
+ - Lars Persson <lars.persson@axis.com>
+
+properties:
+ compatible:
+ enum:
+ - axis,artpec6-crypto
+ - axis,artpec7-crypto
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+ - interrupts
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+ crypto@f4264000 {
+ compatible = "axis,artpec6-crypto";
+ reg = <0xf4264000 0x1000>;
+ interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
+ };
--
2.47.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: crypto: Convert axis,artpec6-crypto to DT schema
2025-05-13 18:40 [PATCH] dt-bindings: crypto: Convert axis,artpec6-crypto to DT schema Rob Herring (Arm)
@ 2025-05-14 7:53 ` Krzysztof Kozlowski
2025-05-19 5:59 ` Herbert Xu
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2025-05-14 7:53 UTC (permalink / raw)
To: Rob Herring (Arm), Herbert Xu, David S. Miller,
Krzysztof Kozlowski, Conor Dooley, Lars Persson
Cc: linux-crypto, devicetree, linux-kernel
On 13/05/2025 20:40, Rob Herring (Arm) wrote:
> Convert the Axis Crypto engine binding to DT schema format. It's a
> straight forward conversion.
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: crypto: Convert axis,artpec6-crypto to DT schema
2025-05-13 18:40 [PATCH] dt-bindings: crypto: Convert axis,artpec6-crypto to DT schema Rob Herring (Arm)
2025-05-14 7:53 ` Krzysztof Kozlowski
@ 2025-05-19 5:59 ` Herbert Xu
1 sibling, 0 replies; 3+ messages in thread
From: Herbert Xu @ 2025-05-19 5:59 UTC (permalink / raw)
To: Rob Herring (Arm)
Cc: David S. Miller, Krzysztof Kozlowski, Conor Dooley, Lars Persson,
linux-crypto, devicetree, linux-kernel
On Tue, May 13, 2025 at 01:40:56PM -0500, Rob Herring (Arm) wrote:
> Convert the Axis Crypto engine binding to DT schema format. It's a
> straight forward conversion.
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
> .../bindings/crypto/artpec6-crypto.txt | 16 --------
> .../bindings/crypto/axis,artpec6-crypto.yaml | 39 +++++++++++++++++++
> 2 files changed, 39 insertions(+), 16 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/crypto/artpec6-crypto.txt
> create mode 100644 Documentation/devicetree/bindings/crypto/axis,artpec6-crypto.yaml
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:[~2025-05-19 6:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-13 18:40 [PATCH] dt-bindings: crypto: Convert axis,artpec6-crypto to DT schema Rob Herring (Arm)
2025-05-14 7:53 ` Krzysztof Kozlowski
2025-05-19 5:59 ` 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).