diff mbox series

dt-bindings: arm: Convert Conexant Digicolor board/soc bindings to json-schema

Message ID 20190618212229.32302-5-robh@kernel.org
State Accepted
Commit c875a3f847274d4def25d48439f11f6cfd445e80
Headers show
Series dt-bindings: arm: Convert Conexant Digicolor board/soc bindings to json-schema | expand

Commit Message

Rob Herring June 18, 2019, 9:22 p.m. UTC
Convert Conexant Digicolor SoC bindings to DT schema format using json-schema.

Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Rob Herring <robh@kernel.org>

---
 .../devicetree/bindings/arm/digicolor.txt        |  6 ------
 .../devicetree/bindings/arm/digicolor.yaml       | 16 ++++++++++++++++
 2 files changed, 16 insertions(+), 6 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/digicolor.txt
 create mode 100644 Documentation/devicetree/bindings/arm/digicolor.yaml

-- 
2.20.1

Comments

Baruch Siach June 20, 2019, 5:12 p.m. UTC | #1
Hi Rob,

On Wed, Jun 19 2019, Rob Herring wrote:

> Convert Conexant Digicolor SoC bindings to DT schema format using json-schema.

>

> Cc: Baruch Siach <baruch@tkos.co.il>

> Signed-off-by: Rob Herring <robh@kernel.org>


Acked-by: Baruch Siach <baruch@tkos.co.il>


Thanks,
baruch

> ---

>  .../devicetree/bindings/arm/digicolor.txt        |  6 ------

>  .../devicetree/bindings/arm/digicolor.yaml       | 16 ++++++++++++++++

>  2 files changed, 16 insertions(+), 6 deletions(-)

>  delete mode 100644 Documentation/devicetree/bindings/arm/digicolor.txt

>  create mode 100644 Documentation/devicetree/bindings/arm/digicolor.yaml

>

> diff --git a/Documentation/devicetree/bindings/arm/digicolor.txt b/Documentation/devicetree/bindings/arm/digicolor.txt

> deleted file mode 100644

> index 658553f40b23..000000000000

> --- a/Documentation/devicetree/bindings/arm/digicolor.txt

> +++ /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

> index 000000000000..d9c80b827e9b

> --- /dev/null

> +++ b/Documentation/devicetree/bindings/arm/digicolor.yaml

> @@ -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

> +

> +...



-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/arm/digicolor.txt b/Documentation/devicetree/bindings/arm/digicolor.txt
deleted file mode 100644
index 658553f40b23..000000000000
--- a/Documentation/devicetree/bindings/arm/digicolor.txt
+++ /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
index 000000000000..d9c80b827e9b
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/digicolor.yaml
@@ -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
+
+...