Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Rob Herring (Arm) and committed by
Herbert Xu
b525ac4b bbd8265d

+44 -22
-22
Documentation/devicetree/bindings/crypto/brcm,spu-crypto.txt
··· 1 - The Broadcom Secure Processing Unit (SPU) hardware supports symmetric 2 - cryptographic offload for Broadcom SoCs. A SoC may have multiple SPU hardware 3 - blocks. 4 - 5 - Required properties: 6 - - compatible: Should be one of the following: 7 - brcm,spum-crypto - for devices with SPU-M hardware 8 - brcm,spu2-crypto - for devices with SPU2 hardware 9 - brcm,spu2-v2-crypto - for devices with enhanced SPU2 hardware features like SHA3 10 - and Rabin Fingerprint support 11 - brcm,spum-nsp-crypto - for the Northstar Plus variant of the SPU-M hardware 12 - 13 - - reg: Should contain SPU registers location and length. 14 - - mboxes: The mailbox channel to be used to communicate with the SPU. 15 - Mailbox channels correspond to DMA rings on the device. 16 - 17 - Example: 18 - crypto@612d0000 { 19 - compatible = "brcm,spum-crypto"; 20 - reg = <0 0x612d0000 0 0x900>; 21 - mboxes = <&pdc0 0>; 22 - };
+44
Documentation/devicetree/bindings/crypto/brcm,spum-crypto.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/brcm,spum-crypto.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Broadcom SPU Crypto Offload 8 + 9 + maintainers: 10 + - Rob Rice <rob.rice@broadcom.com> 11 + 12 + description: 13 + The Broadcom Secure Processing Unit (SPU) hardware supports symmetric 14 + cryptographic offload for Broadcom SoCs. A SoC may have multiple SPU hardware 15 + blocks. 16 + 17 + properties: 18 + compatible: 19 + enum: 20 + - brcm,spum-crypto 21 + - brcm,spu2-crypto 22 + - brcm,spu2-v2-crypto # enhanced SPU2 hardware features like SHA3 and Rabin Fingerprint support 23 + - brcm,spum-nsp-crypto # Northstar Plus variant of the SPU-M hardware 24 + 25 + reg: 26 + maxItems: 1 27 + 28 + mboxes: 29 + maxItems: 1 30 + 31 + required: 32 + - compatible 33 + - reg 34 + - mboxes 35 + 36 + additionalProperties: false 37 + 38 + examples: 39 + - | 40 + crypto@612d0000 { 41 + compatible = "brcm,spum-crypto"; 42 + reg = <0x612d0000 0x900>; 43 + mboxes = <&pdc0 0>; 44 + };