Skip to contentSkip to conversation

dt-bindings: crypto: Convert ti,omap4-des to DT schema

PATCH In review Rob Herring (Arm) 3 participants 3 messages Jun 11, 2025 – Jun 23, 2025

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH v2 1/1 dt-bindings: crypto: Convert ti,omap4-des to DT schema

Convert the TI OMAP DES binding to DT schema format.

Drop "ti,hwmods" as it is not actually used for this binding. Only OMAP2 platforms are using it.

---
v2:
- Drop ti,hwmods from required too

---
 .../devicetree/bindings/crypto/omap-des.txt   | 30 ---------
 .../bindings/crypto/ti,omap4-des.yaml         | 65 +++++++++++++++++++
 2 files changed, 65 insertions(+), 30 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/crypto/omap-des.txt
 create mode 100644 Documentation/devicetree/bindings/crypto/ti,omap4-des.yaml
Documentation/devicetree/bindings/crypto/omap-des.txt deleted +0 -30
deleted file mode 100644
index e8c63bf2e16d..000000000000
@@ -1,30 +0,0 @@
-OMAP SoC DES crypto Module
-
-Required properties:
-
-- compatible : Should contain "ti,omap4-des"
-- ti,hwmods: Name of the hwmod associated with the DES module
-- reg : Offset and length of the register set for the module
-- interrupts : the interrupt-specifier for the DES module
-- clocks : A phandle to the functional clock node of the DES module
-           corresponding to each entry in clock-names
-- clock-names : Name of the functional clock, should be "fck"
-
-Optional properties:
-- dmas: DMA specifiers for tx and rx dma. See the DMA client binding,
-	Documentation/devicetree/bindings/dma/dma.txt
-	Each entry corresponds to an entry in dma-names
-- dma-names: DMA request names should include "tx" and "rx" if present
-
-Example:
-	/* DRA7xx SoC */
-	des: des@480a5000 {
-		compatible = "ti,omap4-des";
-		ti,hwmods = "des";
-		reg = <0x480a5000 0xa0>;
-		interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
-		dmas = <&sdma 117>, <&sdma 116>;
-		dma-names = "tx", "rx";
-		clocks = <&l3_iclk_div>;
-		clock-names = "fck";
-	};
Documentation/devicetree/bindings/crypto/ti,omap4-des.yaml new file +65 -0

65 lines not on this page · raw message

Signature · 1 line
2.47.2
Reviewed-by on v2 1/1
#1 lore raw
Quoted 9 lines · Rob Herring (Arm)

Convert the TI OMAP DES binding to DT schema format.

Drop "ti,hwmods" as it is not actually used for this binding. Only OMAP2 platforms are using it.

---
v2:
- Drop ti,hwmods from required too

Quoted 6 lines
---
 .../devicetree/bindings/crypto/omap-des.txt   | 30 ---------
 .../bindings/crypto/ti,omap4-des.yaml         | 65 +++++++++++++++++++
 2 files changed, 65 insertions(+), 30 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/crypto/omap-des.txt
 create mode 100644 Documentation/devicetree/bindings/crypto/ti,omap4-des.yaml

Best regards,
Krzysztof

maintainer
#2 lore raw
In reply to Rob Herring (Arm)
Quoted 9 lines · Rob Herring (Arm)

Convert the TI OMAP DES binding to DT schema format.

Drop "ti,hwmods" as it is not actually used for this binding. Only OMAP2 platforms are using it.

---
v2:
- Drop ti,hwmods from required too

Quoted 6 lines
---
 .../devicetree/bindings/crypto/omap-des.txt   | 30 ---------
 .../bindings/crypto/ti,omap4-des.yaml         | 65 +++++++++++++++++++
 2 files changed, 65 insertions(+), 30 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/crypto/omap-des.txt
 create mode 100644 Documentation/devicetree/bindings/crypto/ti,omap4-des.yaml

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt