All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] Add further DT configuration for AT803x PHYs
@ 2021-01-14 10:44 Russell King - ARM Linux admin
  2021-01-14 10:45 ` [PATCH net-next 1/2] dt: ar803x: document SmartEEE properties Russell King
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Russell King - ARM Linux admin @ 2021-01-14 10:44 UTC (permalink / raw)
  To: Andrew Lunn, Heiner Kallweit
  Cc: David S. Miller, devicetree, Florian Fainelli, Jakub Kicinski,
	netdev, Rob Herring, Jon Nettleton

Hi,

This patch series adds the ability to configure the SmartEEE feature
in AT803x PHYs. SmartEEE defaults to enabled on these PHYs, and has
a history of causing random sporadic link drops at Gigabit speeds.

There appears to be two solutions to this. There is the approach that
Freescale adopted early on, which is to disable the SmartEEE feature.
However, this loses the power saving provided by EEE. Another solution
was found by Jon Nettleton is to increase the Tw parameter for Gigabit
links.

This patch series adds support for both approaches, by adding a boolean:

	qca,disable-smarteee

if one wishes to disable SmartEEE, and two properties to configure the
SmartEEE Tw parameters:

	qca,smarteee-tw-us-100m
	qca,smarteee-tw-us-1g

Sadly, the PHY quirk I merged a while back for AT8035 on iMX6 is broken 
- rather than disabling SmartEEE mode, it enables it.

The addition of these properties will be sent to the appropriate
platform maintainers - although for SolidRun platforms, we only make use
of "qca,smarteee-tw-us-1g".

 .../devicetree/bindings/net/qca,ar803x.yaml        | 16 ++++++
 drivers/net/phy/at803x.c                           | 65 +++++++++++++++++++++-
 2 files changed, 80 insertions(+), 1 deletion(-)

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

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

end of thread, other threads:[~2021-01-15 23:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-14 10:44 [PATCH net-next 0/2] Add further DT configuration for AT803x PHYs Russell King - ARM Linux admin
2021-01-14 10:45 ` [PATCH net-next 1/2] dt: ar803x: document SmartEEE properties Russell King
2021-01-15 17:27   ` Rob Herring
2021-01-14 10:45 ` [PATCH net-next 2/2] net: phy: at803x: add support for configuring SmartEEE Russell King
2021-01-15 23:10 ` [PATCH net-next 0/2] Add further DT configuration for AT803x PHYs patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.