diff mbox series

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

Message ID pncbkuiub6sr3gn2okzdfxiknwypi3gcdw3av3eynniacvrcew@nwfye2jkvgmv (mailing list archive)
State New, archived
Headers show
Series [RFC] dt-bindings: arm: marvell: convert armada-375.txt to yaml | expand

Commit Message

Aryabhatta Dey Sept. 2, 2024, 2:23 a.m. UTC
Convert dt-binding armada-375 from txt to yaml format.

Signed-off-by: Aryabhatta Dey <aryabhattadey35@gmail.com>
---
 .../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

Comments

Krzysztof Kozlowski Sept. 2, 2024, 7:24 a.m. UTC | #1
On Mon, Sep 02, 2024 at 07:53:43AM +0530, Aryabhatta Dey wrote:
> Convert dt-binding armada-375 from txt to yaml format.
> 
> Signed-off-by: Aryabhatta Dey <aryabhattadey35@gmail.com>

> 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@gmail.com>

No, I don't think you maintain the platforms. Do you have the hardware?
Which one?

> +
> +properties:
> +  $nodename:
> +    const: '/'
> +  compatible:
> +    oneOf:
> +
> +      - description:
> +          Marvell Armada 375
> +        items:
> +          - const: marvell,armada375

That's not a correct list. SoC cannot be used alone.

Armada needs proper fixes, not just doing conversion to satisfy
conversion.

Best regards,
Krzysztof
diff mbox series

Patch

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@gmail.com>
+
+properties:
+  $nodename:
+    const: '/'
+  compatible:
+    oneOf:
+
+      - description:
+          Marvell Armada 375
+        items:
+          - const: marvell,armada375
+
+additionalProperties: true