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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/24/23 06:20, 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.

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
Reviewed-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>
Reviewed-by: Rob Herring <robh@xxxxxxxxxx>
Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux