Skip to contentSkip to conversation

dt-bindings: crypto: Convert brcm,spum-crypto to DT schema

PATCH In review Rob Herring (Arm) 2 participants 2 messages May 13, 2025 – May 19, 2025

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: crypto: Convert brcm,spum-crypto to DT schema

Convert the Broadcom SPUM/SPU2 binding to DT schema format. It's a straight forward conversion.

---
 .../bindings/crypto/brcm,spu-crypto.txt       | 22 ----------
 .../bindings/crypto/brcm,spum-crypto.yaml     | 44 +++++++++++++++++++
 2 files changed, 44 insertions(+), 22 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/crypto/brcm,spu-crypto.txt
 create mode 100644 Documentation/devicetree/bindings/crypto/brcm,spum-crypto.yaml
Documentation/devicetree/bindings/crypto/brcm,spu-crypto.txt deleted +0 -22
deleted file mode 100644
index 29b6007568eb..000000000000
@@ -1,22 +0,0 @@
-The Broadcom Secure Processing Unit (SPU) hardware supports symmetric
-cryptographic offload for Broadcom SoCs. A SoC may have multiple SPU hardware
-blocks.
-
-Required properties:
-- compatible: Should be one of the following:
-  brcm,spum-crypto - for devices with SPU-M hardware
-  brcm,spu2-crypto - for devices with SPU2 hardware
-  brcm,spu2-v2-crypto - for devices with enhanced SPU2 hardware features like SHA3
-  and Rabin Fingerprint support
-  brcm,spum-nsp-crypto - for the Northstar Plus variant of the SPU-M hardware
-
-- reg: Should contain SPU registers location and length.
-- mboxes: The mailbox channel to be used to communicate with the SPU.
-  Mailbox channels correspond to DMA rings on the device.
-
-Example:
-	crypto@612d0000 {
-		compatible = "brcm,spum-crypto";
-		reg = <0 0x612d0000 0 0x900>;
-		mboxes = <&pdc0 0>;
-	};
Documentation/devicetree/bindings/crypto/brcm,spum-crypto.yaml new file +44 -0

44 lines not on this page · raw message

Signature · 1 line
2.47.2
maintainer
#1 lore raw
Quoted 10 lines · Rob Herring (Arm)

Convert the Broadcom SPUM/SPU2 binding to DT schema format. It's a straight forward conversion.

---
 .../bindings/crypto/brcm,spu-crypto.txt       | 22 ----------
 .../bindings/crypto/brcm,spum-crypto.yaml     | 44 +++++++++++++++++++
 2 files changed, 44 insertions(+), 22 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/crypto/brcm,spu-crypto.txt
 create mode 100644 Documentation/devicetree/bindings/crypto/brcm,spum-crypto.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