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

dt-bindings: crypto: Convert axis,artpec6-crypto to DT schema

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>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

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

+39 -16
-16
Documentation/devicetree/bindings/crypto/artpec6-crypto.txt
··· 1 - Axis crypto engine with PDMA interface. 2 - 3 - Required properties: 4 - - compatible : Should be one of the following strings: 5 - "axis,artpec6-crypto" for the version in the Axis ARTPEC-6 SoC 6 - "axis,artpec7-crypto" for the version in the Axis ARTPEC-7 SoC. 7 - - reg: Base address and size for the PDMA register area. 8 - - interrupts: Interrupt handle for the PDMA interrupt line. 9 - 10 - Example: 11 - 12 - crypto@f4264000 { 13 - compatible = "axis,artpec6-crypto"; 14 - reg = <0xf4264000 0x1000>; 15 - interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; 16 - };
+39
Documentation/devicetree/bindings/crypto/axis,artpec6-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/crypto/axis,artpec6-crypto.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Axis ARTPEC6 crypto engine with PDMA interface 8 + 9 + maintainers: 10 + - Lars Persson <lars.persson@axis.com> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - axis,artpec6-crypto 16 + - axis,artpec7-crypto 17 + 18 + reg: 19 + maxItems: 1 20 + 21 + interrupts: 22 + maxItems: 1 23 + 24 + required: 25 + - compatible 26 + - reg 27 + - interrupts 28 + 29 + additionalProperties: false 30 + 31 + examples: 32 + - | 33 + #include <dt-bindings/interrupt-controller/arm-gic.h> 34 + 35 + crypto@f4264000 { 36 + compatible = "axis,artpec6-crypto"; 37 + reg = <0xf4264000 0x1000>; 38 + interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; 39 + };