Skip to contentSkip to conversation

dt-bindings: arm: Convert MOXA ART board/soc bindings to json-schema

PATCH New Rob Herring 1 participant 1 message Jun 18, 2019

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: arm: Convert MOXA ART board/soc bindings to json-schema

Convert MOXA ART SoC bindings to DT schema format using json-schema.

---
 .../devicetree/bindings/arm/moxart.txt        | 12 ------------
 .../devicetree/bindings/arm/moxart.yaml       | 19 +++++++++++++++++++
 2 files changed, 19 insertions(+), 12 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/moxart.txt
 create mode 100644 Documentation/devicetree/bindings/arm/moxart.yaml
Documentation/devicetree/bindings/arm/moxart.txt deleted +0 -12
deleted file mode 100644
index 11087edb0658..000000000000
@@ -1,12 +0,0 @@
-MOXA ART device tree bindings
-
-Boards with the MOXA ART SoC shall have the following properties:
-
-Required root node property:
-
-compatible = "moxa,moxart";
-
-Boards:
-
-- UC-7112-LX: embedded computer
-  compatible = "moxa,moxart-uc-7112-lx", "moxa,moxart"
Documentation/devicetree/bindings/arm/moxart.yaml new file +19 -0
new file mode 100644
index 000000000000..c068df59fad2
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/moxart.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MOXA ART device tree bindings
+
+maintainers:
+  - Jonas Jensen <[email protected]>
+
+properties:
+  compatible:
+    description: UC-7112-LX embedded computer
+    items:
+      - const: moxa,moxart-uc-7112-lx
+      - const: moxa,moxart
+
+...
Signature · 1 line
2.20.1