[PATCH net-next 1/8] dt-bindings: net: Add missing (unevaluated|additional)Properties on child node schemas
Gerhard Engleder
gerhard at engleder-embedded.com
Tue Oct 17 12:18:51 PDT 2023
On 16.10.23 23:44, Rob Herring wrote:
> Just as unevaluatedProperties or additionalProperties are required at
> the top level of schemas, they should (and will) also be required for
> child node schemas. That ensures only documented properties are
> present for any node.
>
> Add unevaluatedProperties or additionalProperties as appropriate.
>
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
> .../devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml | 2 ++
> Documentation/devicetree/bindings/net/dsa/brcm,sf2.yaml | 1 +
> Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml | 2 ++
> .../devicetree/bindings/net/dsa/microchip,lan937x.yaml | 1 +
> Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml | 2 ++
> Documentation/devicetree/bindings/net/dsa/qca8k.yaml | 1 +
> Documentation/devicetree/bindings/net/dsa/realtek.yaml | 2 ++
> .../devicetree/bindings/net/dsa/renesas,rzn1-a5psw.yaml | 10 ++--------
> Documentation/devicetree/bindings/net/engleder,tsnep.yaml | 1 +
Looks good for tsnep.
Reviewed-by: Gerhard Engleder <gerhard at engleder-embedded.com>
Thank you!
> Documentation/devicetree/bindings/net/nxp,tja11xx.yaml | 1 +
> 10 files changed, 15 insertions(+), 8 deletions(-)
More information about the Linux-mediatek
mailing list