[PATCH 13/16] dt-bindings: arm: Add Axis ARTPEC SoC platform

ksk4725@coasia.com posted 16 patches 5 months, 2 weeks ago
There is a newer version of this series
[PATCH 13/16] dt-bindings: arm: Add Axis ARTPEC SoC platform
Posted by ksk4725@coasia.com 5 months, 2 weeks ago
From: Ravi Patel <ravi.patel@samsung.com>

Add device tree bindings for the Axis ARTPEC-8 SoC platform
and ARTPEC-8 Grizzly board.

Also move the existing ARTPEC-6 related bindings from .txt
to yaml format.

Signed-off-by: sungminpark <smn1196@coasia.com>
Signed-off-by: Ravi Patel <ravi.patel@samsung.com>
---
 .../devicetree/bindings/arm/axis.txt          | 13 -------
 .../devicetree/bindings/arm/axis.yaml         | 35 +++++++++++++++++++
 2 files changed, 35 insertions(+), 13 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/axis.txt
 create mode 100644 Documentation/devicetree/bindings/arm/axis.yaml

diff --git a/Documentation/devicetree/bindings/arm/axis.txt b/Documentation/devicetree/bindings/arm/axis.txt
deleted file mode 100644
index ebd33a88776f..000000000000
--- a/Documentation/devicetree/bindings/arm/axis.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-Axis Communications AB
-ARTPEC series SoC Device Tree Bindings
-
-ARTPEC-6 ARM SoC
-================
-
-Required root node properties:
-- compatible = "axis,artpec6";
-
-ARTPEC-6 Development board:
----------------------------
-Required root node properties:
-- compatible = "axis,artpec6-dev-board", "axis,artpec6";
diff --git a/Documentation/devicetree/bindings/arm/axis.yaml b/Documentation/devicetree/bindings/arm/axis.yaml
new file mode 100644
index 000000000000..70fb3caa70df
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/axis.yaml
@@ -0,0 +1,35 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/axis.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Axis ARTPEC platforms
+
+maintainers:
+  - Jesper Nilsson <jesper.nilsson@axis.com>
+  - SeonGu Kang <ksk4725@coasia.com>
+  - SungMin Park <smn1196@coasia.com>
+  - Ravi Patel <ravi.patel@samsung.com>
+  - linux-arm-kernel@axis.com
+
+properties:
+  $nodename:
+    const: '/'
+  compatible:
+    oneOf:
+      - description: Axis ARTPEC-6 Development board
+        items:
+          - enum:
+              - axis,artpec6-dev-board
+          - const: axis,artpec6
+
+      - description: Axis ARTPEC-8 Grizzly board
+        items:
+          - enum:
+              - axis,artpec8-grizzly
+          - const: axis,artpec8
+
+additionalProperties: true
+
+...
-- 
2.34.1
Re: [PATCH 13/16] dt-bindings: arm: Add Axis ARTPEC SoC platform
Posted by Krzysztof Kozlowski 5 months, 2 weeks ago
On 10/07/2025 02:20, ksk4725@coasia.com wrote:
> From: Ravi Patel <ravi.patel@samsung.com>
> 
> Add device tree bindings for the Axis ARTPEC-8 SoC platform
> and ARTPEC-8 Grizzly board.
> 
> Also move the existing ARTPEC-6 related bindings from .txt
> to yaml format.

Don't mix conversion with new boards.

> 
> Signed-off-by: sungminpark <smn1196@coasia.com>
> Signed-off-by: Ravi Patel <ravi.patel@samsung.com>

Same problems about SoB chain...

> ---



Best regards,
Krzysztof
Re: [PATCH 13/16] dt-bindings: arm: Add Axis ARTPEC SoC platform
Posted by sungmin 5 months ago
2025-07-10 (목), 09:15 +0200, Krzysztof Kozlowski:
> On 10/07/2025 02:20, ksk4725@coasia.com wrote:
> > From: Ravi Patel <ravi.patel@samsung.com>
> > 
> > Add device tree bindings for the Axis ARTPEC-8 SoC platform
> > and ARTPEC-8 Grizzly board.
> > 
> > Also move the existing ARTPEC-6 related bindings from .txt
> > to yaml format.
> 
> Don't mix conversion with new boards.
The original intention for conversion here is to satisfy the dt-
bindings check warnings.
I will break this patch into 2 patches where 1st will be conversion
from txt to yaml and 2nd will be adding new board.
> 
> > 
> > Signed-off-by: sungminpark <smn1196@coasia.com>
> > Signed-off-by: Ravi Patel <ravi.patel@samsung.com>
> 
> Same problems about SoB chain...
Ok, I will update the SoB section in next patches.

Thanks,
sungminpark
> 
> > ---
> 
> 
> 
> Best regards,
> Krzysztof