diff mbox series

arm64: dts: lx2160a-cex7: increase at8035 PHY gigabit Tw parameter

Message ID E1l0Ydz-0002pe-7p@rmk-PC.armlinux.org.uk
State Accepted
Commit 22171213e503edce38f249cff82b9ad3775b9026
Headers show
Series arm64: dts: lx2160a-cex7: increase at8035 PHY gigabit Tw parameter | expand

Commit Message

Russell King (Oracle) Jan. 15, 2021, 11:36 p.m. UTC
Increase the SmartEEE Tw parameter for Atheros PHYs to stop gigabit
links from sporadically dropping. Testing on this platform shows that
a value of 24 results in a stable link, whereas 23 or below has the
occasional drop.

Tested with a Netgear GS116 unmanaged switch link partner with Cat 5e
cabling.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
---
The corresponding part of this has been merged into net-next:
  https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=e7fa5c80defe079190537fd6b6aecb8866b446a3

 arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi | 1 +
 1 file changed, 1 insertion(+)

Comments

Shawn Guo Jan. 29, 2021, 6:49 a.m. UTC | #1
On Fri, Jan 15, 2021 at 11:36:39PM +0000, Russell King wrote:
> Increase the SmartEEE Tw parameter for Atheros PHYs to stop gigabit

> links from sporadically dropping. Testing on this platform shows that

> a value of 24 results in a stable link, whereas 23 or below has the

> occasional drop.

> 

> Tested with a Netgear GS116 unmanaged switch link partner with Cat 5e

> cabling.

> 

> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>


Applied, thanks.
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi
index d87d16460875..6c2eb2583434 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi
@@ -40,6 +40,7 @@ 
 
 	rgmii_phy1: ethernet-phy@1 {
 		reg = <1>;
+		qca,smarteee-tw-us-1g = <24>;
 	};
 };