devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: lx2160a-cex7: increase at8035 PHY gigabit Tw parameter
@ 2021-01-15 23:36 Russell King
  2021-01-29  6:49 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Russell King @ 2021-01-15 23:36 UTC (permalink / raw)
  To: Shawn Guo; +Cc: Li Yang, Rob Herring, linux-arm-kernel, devicetree

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(+)

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>;
 	};
 };
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: lx2160a-cex7: increase at8035 PHY gigabit Tw parameter
  2021-01-15 23:36 [PATCH] arm64: dts: lx2160a-cex7: increase at8035 PHY gigabit Tw parameter Russell King
@ 2021-01-29  6:49 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2021-01-29  6:49 UTC (permalink / raw)
  To: Russell King; +Cc: Li Yang, Rob Herring, linux-arm-kernel, devicetree

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-29  6:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-15 23:36 [PATCH] arm64: dts: lx2160a-cex7: increase at8035 PHY gigabit Tw parameter Russell King
2021-01-29  6:49 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).