Re: [PATCH 2/5] dt-bindings: arm: econet: Add binding for EN7523 SoC and EVB

From: Rob Herring
Date: Fri Aug 06 2021 - 17:05:22 EST


On Fri, Jul 30, 2021 at 03:45:49PM +0200, Bert Vermeulen wrote:
> From: John Crispin <john@xxxxxxxxxxx>
>
> Add devicetree binding for Econet EN7523 SoC and evaluation board.
>
> Signed-off-by: John Crispin <john@xxxxxxxxxxx>
> Signed-off-by: Bert Vermeulen <bert@xxxxxxxx>
> ---
> .../devicetree/bindings/arm/econet.yaml | 27 +++++++++++++++++++
> 1 file changed, 27 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/arm/econet.yaml
>
> diff --git a/Documentation/devicetree/bindings/arm/econet.yaml b/Documentation/devicetree/bindings/arm/econet.yaml
> new file mode 100644
> index 000000000000..39128f959fef
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/econet.yaml
> @@ -0,0 +1,27 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/arm/econet.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: EcoNet SoC based Platforms Device Tree Bindings
> +
> +maintainers:
> + - Felix Fietkau <nbd@xxxxxxxx>
> + - John Crispin <john@xxxxxxxxxxx>

Blank line

> +description: |

Don't need '|' if no formatting to maintain.

> + Boards with an EcoNet SoC shall have the following properties.
> +
> +properties:
> + $nodename:
> + const: '/'
> + compatible:
> + oneOf:

Expecting other SoCs soonish? If not, drop 'oneOf'.

> + - items:
> + - enum:
> + - econet,en7523-evb
> + - const: econet,en7523
> +
> +additionalProperties: true
> +
> +...
> --
> 2.25.1
>
>