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

dt-bindings: crypto: Convert amd,ccp-seattle-v1a to DT schema

Convert the AMD Cryptographic Coprocessor 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
aa238d34 7996ace6

+38 -17
+38
Documentation/devicetree/bindings/crypto/amd,ccp-seattle-v1a.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/amd,ccp-seattle-v1a.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: AMD Cryptographic Coprocessor (ccp) 8 + 9 + maintainers: 10 + - Tom Lendacky <thomas.lendacky@amd.com> 11 + 12 + properties: 13 + compatible: 14 + const: amd,ccp-seattle-v1a 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + interrupts: 20 + maxItems: 1 21 + 22 + dma-coherent: true 23 + 24 + required: 25 + - compatible 26 + - reg 27 + - interrupts 28 + 29 + additionalProperties: false 30 + 31 + examples: 32 + - | 33 + crypto@e0100000 { 34 + compatible = "amd,ccp-seattle-v1a"; 35 + reg = <0xe0100000 0x10000>; 36 + interrupts = <0 3 4>; 37 + dma-coherent; 38 + };
-17
Documentation/devicetree/bindings/crypto/amd-ccp.txt
··· 1 - * AMD Cryptographic Coprocessor driver (ccp) 2 - 3 - Required properties: 4 - - compatible: Should be "amd,ccp-seattle-v1a" 5 - - reg: Address and length of the register set for the device 6 - - interrupts: Should contain the CCP interrupt 7 - 8 - Optional properties: 9 - - dma-coherent: Present if dma operations are coherent 10 - 11 - Example: 12 - ccp@e0100000 { 13 - compatible = "amd,ccp-seattle-v1a"; 14 - reg = <0 0xe0100000 0 0x10000>; 15 - interrupt-parent = <&gic>; 16 - interrupts = <0 3 4>; 17 - };