]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dt-bindings: net: dsa: document felix family in dsa-tag-protocol
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sat, 9 Oct 2021 12:27:36 +0000 (15:27 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Oct 2021 12:45:24 +0000 (13:45 +0100)
The Vitesse/Microsemi/Microchip family of switches supported by the
Felix DSA driver is capable of selecting between the native tagging
protocol and ocelot-8021q. This is necessary to enable flow control on
the CPU port.

Certain systems where these switches are integrated use the switch as a
port multiplexer, so the termination throughput is paramount. Changing
the tagging protocol at runtime is possible for these systems, but since
it is known beforehand that one tagging protocol will provide strictly
better performance than the other, just allow them to specify the
preference in the device tree.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/dsa/dsa.yaml

index 51f243244f7ba088101437bdb2f7bdd6cff3dca7..224cfa45de9ac0b4dd21dadc85bd9efd4f4b98bb 100644 (file)
@@ -78,6 +78,9 @@ patternProperties:
             enum:
               - dsa
               - edsa
+              - ocelot
+              - ocelot-8021q
+              - seville
 
           phy-handle: true