[RFC PATCH] dt-bindings: arm: marvell: convert armada-375.txt to yaml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Convert dt-binding armada-375 from txt to yaml format.

Signed-off-by: Aryabhatta Dey <aryabhattadey35@xxxxxxxxx>
---
 .../bindings/arm/marvell/armada-375.txt       |  9 --------
 .../bindings/arm/marvell/armada-375.yaml      | 23 +++++++++++++++++++
 2 files changed, 23 insertions(+), 9 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/marvell/armada-375.txt
 create mode 100644 Documentation/devicetree/bindings/arm/marvell/armada-375.yaml

diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-375.txt b/Documentation/devicetree/bindings/arm/marvell/armada-375.txt
deleted file mode 100644
index 867d0b80cb8f..000000000000
--- a/Documentation/devicetree/bindings/arm/marvell/armada-375.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Marvell Armada 375 Platforms Device Tree Bindings
--------------------------------------------------
-
-Boards with a SoC of the Marvell Armada 375 family shall have the
-following property:
-
-Required root node property:
-
-compatible: must contain "marvell,armada375"
diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-375.yaml b/Documentation/devicetree/bindings/arm/marvell/armada-375.yaml
new file mode 100644
index 000000000000..d56d3d6d40d0
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/marvell/armada-375.yaml
@@ -0,0 +1,23 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/marvell/armada-375.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Marvell Armada 375 Platforms
+
+maintainers:
+  - Aryabhatta Dey <aryabhattadey35@xxxxxxxxx>
+
+properties:
+  $nodename:
+    const: '/'
+  compatible:
+    oneOf:
+
+      - description:
+          Marvell Armada 375
+        items:
+          - const: marvell,armada375
+
+additionalProperties: true
-- 
2.46.0





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux