Thread (48 messages) 48 messages, 8 authors, 2023-10-25

Re: [PATCH net-next v4 2/7] dt-bindings: net: mvusb: Fix up DSA example

From: Vladimir Oltean <olteanv@gmail.com>
Date: 2023-10-19 14:28:33
Also in: linux-devicetree, lkml, netdev

On Wed, Oct 18, 2023 at 11:03:41AM +0200, Linus Walleij wrote:
When adding a proper schema for the Marvell mx88e6xxx switch,
the scripts start complaining about this embedded example:

  dtschema/dtc warnings/errors:
  net/marvell,mvusb.example.dtb: switch@0: ports: '#address-cells'
  is a required property
  from schema $id: http://devicetree.org/schemas/net/dsa/marvell,mv88e6xxx.yaml#
  net/marvell,mvusb.example.dtb: switch@0: ports: '#size-cells'
  is a required property
  from schema $id: http://devicetree.org/schemas/net/dsa/marvell,mv88e6xxx.yaml#

Fix this up by extending the example with those properties in
the ports node.

While we are at it, rename "ports" to "ethernet-ports" and rename
"switch" to "ethernet-switch" as this is recommended practice.

Signed-off-by: Linus Walleij <redacted>
---
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help