Re: [PATCH net-next v4 04/14] dt-bindings: net: dsa: renesas,rzn1-a5psw: Reject the "ports" node
From: Rob Herring (Arm)
Date: Fri Nov 06 2026 - 10:52:06 EST
On Wed, 04 Nov 2026 18:20:52 +0000, Prabhakar wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
>
> dsa.yaml accepts either a "ports" or an "ethernet-ports" property. A
> devicetree using "ports" therefore passes validation.
>
> Replace the top-level unevaluatedProperties with additionalProperties
> to reject the unsupported "ports". Also explicitly declare dsa,member
> to keep existing devicetrees validating.
>
> Also Add ethernet-ports to the required list.
>
> Existing in-tree device trees use ethernet-ports, so they are unaffected.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
> ---
> v3->v4:
> - New patch
> ---
> .../devicetree/bindings/net/dsa/renesas,rzn1-a5psw.yaml | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>