Commit 6357d15e authored by Niklas Cassel's avatar Niklas Cassel Committed by David S. Miller

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: default avatarNiklas Cassel <niklas.cassel@axis.com>
Acked-by: default avatarAlexandre TORGUE <alexandre.torgue@st.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarGiuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 06205472
* STMicroelectronics 10/100/1000 Ethernet driver (GMAC) * STMicroelectronics 10/100/1000 Ethernet driver (GMAC)
Required properties: Required properties:
- compatible: Should be "snps,dwmac-<ip_version>" "snps,dwmac" - compatible: Should be "snps,dwmac-<ip_version>", "snps,dwmac"
For backwards compatibility: "st,spear600-gmac" is also supported. For backwards compatibility: "st,spear600-gmac" is also supported.
- reg: Address and length of the register set for the device - reg: Address and length of the register set for the device
- interrupt-parent: Should be the phandle for the interrupt controller - interrupt-parent: Should be the phandle for the interrupt controller
...@@ -50,6 +50,8 @@ Optional properties: ...@@ -50,6 +50,8 @@ Optional properties:
- snps,ps-speed: port selection speed that can be passed to the core when - snps,ps-speed: port selection speed that can be passed to the core when
PCS is supported. For example, this is used in case of SGMII PCS is supported. For example, this is used in case of SGMII
and MAC2MAC connection. and MAC2MAC connection.
- snps,tso: this enables the TSO feature otherwise it will be managed by
MAC HW capability register. Only for GMAC4 and newer.
- AXI BUS Mode parameters: below the list of all the parameters to program the - AXI BUS Mode parameters: below the list of all the parameters to program the
AXI register inside the DMA module: AXI register inside the DMA module:
- snps,lpi_en: enable Low Power Interface - snps,lpi_en: enable Low Power Interface
...@@ -62,8 +64,6 @@ Optional properties: ...@@ -62,8 +64,6 @@ Optional properties:
- snps,fb: fixed-burst - snps,fb: fixed-burst
- snps,mb: mixed-burst - snps,mb: mixed-burst
- snps,rb: rebuild INCRx Burst - snps,rb: rebuild INCRx Burst
- snps,tso: this enables the TSO feature otherwise it will be managed by
MAC HW capability register.
- mdio: with compatible = "snps,dwmac-mdio", create and register mdio bus. - mdio: with compatible = "snps,dwmac-mdio", create and register mdio bus.
Examples: Examples:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment