[PATCH v2 2/6] dt-bindings: arm: axiado: add AX3000 EVK compatible strings

Harshit Shah posted 6 patches 3 months, 3 weeks ago
There is a newer version of this series
[PATCH v2 2/6] dt-bindings: arm: axiado: add AX3000 EVK compatible strings
Posted by Harshit Shah 3 months, 3 weeks ago
Add device tree binding schema for Axiado platforms, specifically the
AX3000 SoC and its associated evaluation board. This binding will be
used for the board-level DTS files that support the AX3000 platforms.

Signed-off-by: Harshit Shah <hshah@axiado.com>
---
 .../devicetree/bindings/arm/axiado/axiado.yaml     | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/axiado/axiado.yaml b/Documentation/devicetree/bindings/arm/axiado/axiado.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..f323162b7c3cf973754a3539b94a7534111886cf
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/axiado/axiado.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/axiado/axiado.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Axiado Platforms
+
+maintainers:
+  - Harshit Shah <hshah@axiado.com>
+
+properties:
+  $nodename:
+    const: '/'
+  compatible:
+    oneOf:
+      - description: AX3000 based boards
+        items:
+          - enum:
+              - axiado,ax3000_evk       # Axiado AX3000 Evaluation Board
+          - const: axiado,ax3000       # Axiado AX3000 SoC
+
+additionalProperties: true

-- 
2.25.1
Re: [PATCH v2 2/6] dt-bindings: arm: axiado: add AX3000 EVK compatible strings
Posted by Krzysztof Kozlowski 3 months, 3 weeks ago
On 16/06/2025 06:31, Harshit Shah wrote:
> Add device tree binding schema for Axiado platforms, specifically the
> AX3000 SoC and its associated evaluation board. This binding will be
> used for the board-level DTS files that support the AX3000 platforms.
> 
> Signed-off-by: Harshit Shah <hshah@axiado.com>
> ---
>  .../devicetree/bindings/arm/axiado/axiado.yaml     | 23 ++++++++++++++++++++++

Just arm/axiado.yaml

>  1 file changed, 23 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/arm/axiado/axiado.yaml b/Documentation/devicetree/bindings/arm/axiado/axiado.yaml
> new file mode 100644
> index 0000000000000000000000000000000000000000..f323162b7c3cf973754a3539b94a7534111886cf
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/axiado/axiado.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/axiado/axiado.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Axiado Platforms
> +
> +maintainers:
> +  - Harshit Shah <hshah@axiado.com>
> +
> +properties:
> +  $nodename:
> +    const: '/'
> +  compatible:
> +    oneOf:
> +      - description: AX3000 based boards
> +        items:
> +          - enum:
> +              - axiado,ax3000_evk       # Axiado AX3000 Evaluation Board

No underscores in compatibles (just look at any other example).



Best regards,
Krzysztof