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

dt-bindings: crypto: Convert ti,omap2-aes to DT schema

Convert the TI OMAP AES binding to DT schema format. It's a straight
forward conversion.

Make "ti,hwmods" not required as it is deprecated and only used on
OMAP2.

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
d0544657 3c6e41aa

+58 -31
-31
Documentation/devicetree/bindings/crypto/omap-aes.txt
··· 1 - OMAP SoC AES crypto Module 2 - 3 - Required properties: 4 - 5 - - compatible : Should contain entries for this and backward compatible 6 - AES versions: 7 - - "ti,omap2-aes" for OMAP2. 8 - - "ti,omap3-aes" for OMAP3. 9 - - "ti,omap4-aes" for OMAP4 and AM33XX. 10 - Note that the OMAP2 and 3 versions are compatible (OMAP3 supports 11 - more algorithms) but they are incompatible with OMAP4. 12 - - ti,hwmods: Name of the hwmod associated with the AES module 13 - - reg : Offset and length of the register set for the module 14 - - interrupts : the interrupt-specifier for the AES module. 15 - 16 - Optional properties: 17 - - dmas: DMA specifiers for tx and rx dma. See the DMA client binding, 18 - Documentation/devicetree/bindings/dma/dma.txt 19 - - dma-names: DMA request names should include "tx" and "rx" if present. 20 - 21 - Example: 22 - /* AM335x */ 23 - aes: aes@53500000 { 24 - compatible = "ti,omap4-aes"; 25 - ti,hwmods = "aes"; 26 - reg = <0x53500000 0xa0>; 27 - interrupts = <102>; 28 - dmas = <&edma 6>, 29 - <&edma 5>; 30 - dma-names = "tx", "rx"; 31 - };
+58
Documentation/devicetree/bindings/crypto/ti,omap2-aes.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/ti,omap2-aes.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: OMAP SoC AES crypto Module 8 + 9 + maintainers: 10 + - Aaro Koskinen <aaro.koskinen@iki.fi> 11 + - Andreas Kemnade <andreas@kemnade.info> 12 + - Kevin Hilman <khilman@baylibre.com> 13 + - Roger Quadros <rogerq@kernel.org> 14 + - Tony Lindgren <tony@atomide.com> 15 + 16 + properties: 17 + compatible: 18 + enum: 19 + - ti,omap2-aes 20 + - ti,omap3-aes 21 + - ti,omap4-aes 22 + 23 + reg: 24 + maxItems: 1 25 + 26 + interrupts: 27 + maxItems: 1 28 + 29 + dmas: 30 + maxItems: 2 31 + 32 + dma-names: 33 + items: 34 + - const: tx 35 + - const: rx 36 + 37 + ti,hwmods: 38 + description: Name of the hwmod associated with the AES module 39 + const: aes 40 + deprecated: true 41 + 42 + required: 43 + - compatible 44 + - reg 45 + - interrupts 46 + 47 + additionalProperties: false 48 + 49 + examples: 50 + - | 51 + aes@53500000 { 52 + compatible = "ti,omap4-aes"; 53 + reg = <0x53500000 0xa0>; 54 + interrupts = <102>; 55 + dmas = <&edma 6>, 56 + <&edma 5>; 57 + dma-names = "tx", "rx"; 58 + };