]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
dt-bindings: arm: Convert Conexant Digicolor board/soc bindings to json-schema
authorRob Herring <robh@kernel.org>
Tue, 18 Jun 2019 21:14:12 +0000 (15:14 -0600)
committerRob Herring <robh@kernel.org>
Thu, 27 Jun 2019 17:24:39 +0000 (11:24 -0600)
Convert Conexant Digicolor SoC bindings to DT schema format using json-schema.

Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/arm/digicolor.txt [deleted file]
Documentation/devicetree/bindings/arm/digicolor.yaml [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/arm/digicolor.txt b/Documentation/devicetree/bindings/arm/digicolor.txt
deleted file mode 100644 (file)
index 658553f..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-Conexant Digicolor Platforms Device Tree Bindings
-
-Each device tree must specify which Conexant Digicolor SoC it uses.
-Must be the following compatible string:
-
-  cnxt,cx92755
diff --git a/Documentation/devicetree/bindings/arm/digicolor.yaml b/Documentation/devicetree/bindings/arm/digicolor.yaml
new file mode 100644 (file)
index 0000000..d9c80b8
--- /dev/null
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/digicolor.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Conexant Digicolor Platforms Device Tree Bindings
+
+maintainers:
+  - Baruch Siach <baruch@tkos.co.il>
+
+properties:
+  compatible:
+    const: cnxt,cx92755
+
+...