All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] dt-bindings: misc: convert fsl,dpaa2-console from txt to YAML
@ 2020-11-09 10:46 ` Laurentiu Tudor
  0 siblings, 0 replies; 18+ messages in thread
From: Laurentiu Tudor @ 2020-11-09 10:46 UTC (permalink / raw)
  To: robh+dt, leoyang.li, corbet, linux-arm-kernel, devicetree,
	linux-kernel, netdev, linux-doc
  Cc: davem, kuba, linuxppc-dev, ioana.ciornei, Ionut-robert Aron,
	Laurentiu Tudor

From: Ionut-robert Aron <ionut-robert.aron@nxp.com>

Convert fsl,dpaa2-console to YAML in order to automate the
verification process of dts files.

Signed-off-by: Ionut-robert Aron <ionut-robert.aron@nxp.com>
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
---
Changes in v2:
 - add missing additionalProperties

 .../bindings/misc/fsl,dpaa2-console.txt       | 11 --------
 .../bindings/misc/fsl,dpaa2-console.yaml      | 25 +++++++++++++++++++
 2 files changed, 25 insertions(+), 11 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt
 create mode 100644 Documentation/devicetree/bindings/misc/fsl,dpaa2-console.yaml

diff --git a/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt b/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt
deleted file mode 100644
index 1442ba5d2d98..000000000000
--- a/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-DPAA2 console support
-
-Required properties:
-
-    - compatible
-        Value type: <string>
-        Definition: Must be "fsl,dpaa2-console".
-    - reg
-        Value type: <prop-encoded-array>
-        Definition: A standard property.  Specifies the region where the MCFBA
-                    (MC firmware base address) register can be found.
diff --git a/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.yaml b/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.yaml
new file mode 100644
index 000000000000..271a3eafc054
--- /dev/null
+++ b/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.yaml
@@ -0,0 +1,25 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+# Copyright 2020 NXP
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/misc/fsl,dpaa2-console.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: DPAA2 console support
+
+maintainers:
+  - Laurentiu Tudor <laurentiu.tudor@nxp.com>
+
+properties:
+  compatible:
+    const: "fsl,dpaa2-console"
+
+  reg:
+    description: A standard property. Specifies the region where the MCFBA
+                (MC firmware base address) register can be found.
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2020-11-10 17:37 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-09 10:46 [PATCH v2 1/2] dt-bindings: misc: convert fsl,dpaa2-console from txt to YAML Laurentiu Tudor
2020-11-09 10:46 ` [PATCH v2 1/2] dt-bindings: misc: convert fsl, dpaa2-console " Laurentiu Tudor
2020-11-09 10:46 ` Laurentiu Tudor
2020-11-09 10:46 ` [PATCH v2 2/2] dt-bindings: misc: convert fsl,qoriq-mc " Laurentiu Tudor
2020-11-09 10:46   ` [PATCH v2 2/2] dt-bindings: misc: convert fsl, qoriq-mc " Laurentiu Tudor
2020-11-09 10:46   ` Laurentiu Tudor
2020-11-09 22:11   ` Rob Herring
2020-11-09 22:11     ` Rob Herring
2020-11-09 22:11     ` Rob Herring
2020-11-10 17:20     ` Rob Herring
2020-11-10 17:20       ` Rob Herring
2020-11-10 17:20       ` Rob Herring
2020-11-10 17:35       ` Laurentiu Tudor
2020-11-10 17:35         ` Laurentiu Tudor
2020-11-10 17:35         ` Laurentiu Tudor
2020-11-09 22:11 ` [PATCH v2 1/2] dt-bindings: misc: convert fsl, dpaa2-console " Rob Herring
2020-11-09 22:11   ` Rob Herring
2020-11-09 22:11   ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.