Skip to content

Commit 6357d15

Browse files
Niklas Casseldavem330
authored andcommitted
bindings: net: stmmac: correct note about TSO
snps,tso was previously placed under AXI BUS Mode parameters, suggesting that the property should be in the stmmac-axi-config node. TSO (TCP Segmentation Offloading) has nothing to do with AXI BUS Mode parameters, and the parser actually expects it to be in the root node, not in the stmmac-axi-config. Also added a note about snps,tso only being available on GMAC4 and newer. Signed-off-by: Niklas Cassel <niklas.cassel@axis.com> Acked-by: Alexandre TORGUE <alexandre.torgue@st.com> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 0620547 commit 6357d15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/devicetree/bindings/net/stmmac.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
* STMicroelectronics 10/100/1000 Ethernet driver (GMAC)
22

33
Required properties:
4-
- compatible: Should be "snps,dwmac-<ip_version>" "snps,dwmac"
4+
- compatible: Should be "snps,dwmac-<ip_version>", "snps,dwmac"
55
For backwards compatibility: "st,spear600-gmac" is also supported.
66
- reg: Address and length of the register set for the device
77
- interrupt-parent: Should be the phandle for the interrupt controller
@@ -50,6 +50,8 @@ Optional properties:
5050
- snps,ps-speed: port selection speed that can be passed to the core when
5151
PCS is supported. For example, this is used in case of SGMII
5252
and MAC2MAC connection.
53+
- snps,tso: this enables the TSO feature otherwise it will be managed by
54+
MAC HW capability register. Only for GMAC4 and newer.
5355
- AXI BUS Mode parameters: below the list of all the parameters to program the
5456
AXI register inside the DMA module:
5557
- snps,lpi_en: enable Low Power Interface
@@ -62,8 +64,6 @@ Optional properties:
6264
- snps,fb: fixed-burst
6365
- snps,mb: mixed-burst
6466
- snps,rb: rebuild INCRx Burst
65-
- snps,tso: this enables the TSO feature otherwise it will be managed by
66-
MAC HW capability register.
6767
- mdio: with compatible = "snps,dwmac-mdio", create and register mdio bus.
6868

6969
Examples:

0 commit comments

Comments
 (0)