diff options
author | Rob Herring <robh@kernel.org> | 2018-05-14 18:52:51 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2018-12-13 11:09:46 -0600 |
commit | da5faf32ad2d74144c14f1c8212e0063a3dc1d0b (patch) | |
tree | 44e398910f730cbdced3c805ad97d8f5ceb8801b | |
parent | 5afa43780f7c735ee83a015db69821b45a011ef6 (diff) | |
download | lwn-da5faf32ad2d74144c14f1c8212e0063a3dc1d0b.tar.gz lwn-da5faf32ad2d74144c14f1c8212e0063a3dc1d0b.zip |
dt-bindings: arm: Convert TI nspire board/soc bindings to json-schema
Convert TI NSpire SoC bindings to DT schema format using json-schema.
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: devicetree@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/arm/nspire.txt | 14 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/arm/ti/nspire.yaml | 24 |
2 files changed, 24 insertions, 14 deletions
diff --git a/Documentation/devicetree/bindings/arm/nspire.txt b/Documentation/devicetree/bindings/arm/nspire.txt deleted file mode 100644 index 4d08518bd176..000000000000 --- a/Documentation/devicetree/bindings/arm/nspire.txt +++ /dev/null @@ -1,14 +0,0 @@ -TI-NSPIRE calculators - -Required properties: -- compatible: Compatible property value should contain "ti,nspire". - CX models should have "ti,nspire-cx" - Touchpad models should have "ti,nspire-tp" - Clickpad models should have "ti,nspire-clp" - -Example: - -/ { - model = "TI-NSPIRE CX"; - compatible = "ti,nspire-cx"; - ... diff --git a/Documentation/devicetree/bindings/arm/ti/nspire.yaml b/Documentation/devicetree/bindings/arm/ti/nspire.yaml new file mode 100644 index 000000000000..e372b43da62f --- /dev/null +++ b/Documentation/devicetree/bindings/arm/ti/nspire.yaml @@ -0,0 +1,24 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/ti/nspire.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI-NSPIRE calculators + +maintainers: + - Daniel Tang <dt.tangr@gmail.com> + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + # CX models + - ti,nspire-cx + # Touchpad models + - ti,nspire-tp + # Clickpad models + - ti,nspire-clp +... |