]> www.infradead.org Git - users/willy/linux.git/commit
dt-bindings: net: dwmac: Validate PBL for all IP-cores
authorSerge Semin <fancer.lancer@gmail.com>
Fri, 28 Jun 2024 15:45:12 +0000 (18:45 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 2 Jul 2024 13:34:50 +0000 (15:34 +0200)
commitd01e0e98de31f9cc5cf328f5eb7ae3d7a13c1021
tree5876bfd2cc5e27475e392c71008b59ccceb20cc6
parent2a01a8895015ad479df7cfb8f127501d1c8da7c9
dt-bindings: net: dwmac: Validate PBL for all IP-cores

Indeed the maximum DMA burst length can be programmed not only for DW
xGMACs, Allwinner EMACs and Spear SoC GMAC, but in accordance with
[1, 2, 3] for Generic DW *MAC IP-cores. Moreover the STMMAC driver parses
the property and then apply the configuration for all supported DW MAC
devices. All of that makes the property being available for all IP-cores
the bindings supports. Let's make sure the PBL-related properties are
validated for all of them by the common DW *MAC DT schema.

[1] DesignWare Cores Ethernet MAC Universal Databook, Revision 3.73a,
    October 2013, p.378.

[2] DesignWare Cores Ethernet Quality-of-Service Databook, Revision 5.10a,
    December 2017, p.1223.

[3] DesignWare Cores XGMAC - 10G Ethernet MAC Databook, Revision 2.11a,
    September 2015, p.469-473.

Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20240628154515.8783-1-fancer.lancer@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Documentation/devicetree/bindings/net/snps,dwmac.yaml