Re: [PATCH net-next 4/8] dt-bindings: net: ethernet-switch: Add missing 'ethernet-ports' level

From: Arınç ÜNAL
Date: Tue Oct 17 2023 - 02:33:38 EST


On 17.10.2023 00:44, Rob Herring wrote:
The '$defs/ethernet-ports' schema is referenced by schemas defining a
child node 'ethernet-ports', but this schema misses the
'ethernet-ports' node. It would work if referring schemas made a
reference like this:

properties:
ethernet-ports:
$ref: ethernet-switch.yaml#/$defs/ethernet-ports

However, that would be different from how dsa.yaml works. For
consistency, align the schema definition with dsa.yaml and add the
missing level.

Signed-off-by: Rob Herring <robh@xxxxxxxxxx>

Acked-by: Arınç ÜNAL <arinc.unal@xxxxxxxxxx>

Arınç