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

dt-bindings: arm: firmware: tlm,trusted-foundations: Convert txt bindings to yaml

Convert Trusted Foundation binding to the YAML syntax.

Signed-off-by: David Heidelberg <david@ixit.cz>
Link: https://lore.kernel.org/r/20211022232100.137067-1-david@ixit.cz
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

David Heidelberg and committed by
Rob Herring
7d194a5a e2266d37

+46 -20
-20
Documentation/devicetree/bindings/arm/firmware/tlm,trusted-foundations.txt
··· 1 - Trusted Foundations 2 - ------------------- 3 - 4 - Boards that use the Trusted Foundations secure monitor can signal its 5 - presence by declaring a node compatible with "tlm,trusted-foundations" 6 - under the /firmware/ node 7 - 8 - Required properties: 9 - - compatible: "tlm,trusted-foundations" 10 - - tlm,version-major: major version number of Trusted Foundations firmware 11 - - tlm,version-minor: minor version number of Trusted Foundations firmware 12 - 13 - Example: 14 - firmware { 15 - trusted-foundations { 16 - compatible = "tlm,trusted-foundations"; 17 - tlm,version-major = <2>; 18 - tlm,version-minor = <8>; 19 - }; 20 - };
+46
Documentation/devicetree/bindings/arm/firmware/tlm,trusted-foundations.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: "http://devicetree.org/schemas/arm/firmware/tlm,trusted-foundations.yaml#" 5 + $schema: "http://devicetree.org/meta-schemas/core.yaml#" 6 + 7 + title: Trusted Foundations 8 + 9 + description: | 10 + Boards that use the Trusted Foundations secure monitor can signal its 11 + presence by declaring a node compatible under the /firmware/ node 12 + 13 + maintainers: 14 + - Stephen Warren <swarren@nvidia.com> 15 + 16 + properties: 17 + $nodename: 18 + const: trusted-foundations 19 + 20 + compatible: 21 + const: tlm,trusted-foundations 22 + 23 + tlm,version-major: 24 + $ref: /schemas/types.yaml#/definitions/uint32 25 + description: major version number of Trusted Foundations firmware 26 + 27 + tlm,version-minor: 28 + $ref: /schemas/types.yaml#/definitions/uint32 29 + description: minor version number of Trusted Foundations firmware 30 + 31 + required: 32 + - compatible 33 + - tlm,version-major 34 + - tlm,version-minor 35 + 36 + additionalProperties: false 37 + 38 + examples: 39 + - | 40 + firmware { 41 + trusted-foundations { 42 + compatible = "tlm,trusted-foundations"; 43 + tlm,version-major = <2>; 44 + tlm,version-minor = <8>; 45 + }; 46 + };