netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] microchip/micrel switch: replace MICREL_NO_EEE workaround
@ 2025-01-06 13:20 Heiner Kallweit
  2025-01-06 13:22 ` [PATCH net-next v2 1/2] net: phy: micrel: disable EEE on KSZ9477-type PHY Heiner Kallweit
  2025-01-06 13:23 ` [PATCH net-next v2 2/2] net: dsa: microchip: remove MICREL_NO_EEE workaround Heiner Kallweit
  0 siblings, 2 replies; 8+ messages in thread
From: Heiner Kallweit @ 2025-01-06 13:20 UTC (permalink / raw)
  To: Russell King - ARM Linux, Andrew Lunn, Paolo Abeni,
	Jakub Kicinski, Eric Dumazet, David Miller, Simon Horman,
	Woojung Huh, Microchip Linux Driver Support, Tim Harvey,
	Oleksij Rempel
  Cc: netdev@vger.kernel.org

On several supported switches the integrated PHY's have buggy EEE.
On the GBit-capable ones it's always the same type of PHY with PHY ID
0x00221631, so I think we can assume that all PHY's with this id
have this EEE issue. Let's simplify erratum handling by calling
phy_disable_eee() for this PHY type.

v2:
- Use phy_disable_eee() instead of clearing supported_eee in patch 1

Heiner Kallweit (2):
  net: phy: micrel: disable EEE on KSZ9477-type PHY
  net: dsa: microchip: remove MICREL_NO_EEE workaround

 drivers/net/dsa/microchip/ksz_common.c | 25 -------------------------
 drivers/net/phy/micrel.c               | 12 ++++++------
 include/linux/micrel_phy.h             |  1 -
 3 files changed, 6 insertions(+), 32 deletions(-)

-- 
2.47.1


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

end of thread, other threads:[~2025-01-07 20:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-06 13:20 [PATCH net-next v2 0/2] microchip/micrel switch: replace MICREL_NO_EEE workaround Heiner Kallweit
2025-01-06 13:22 ` [PATCH net-next v2 1/2] net: phy: micrel: disable EEE on KSZ9477-type PHY Heiner Kallweit
2025-01-06 13:23 ` [PATCH net-next v2 2/2] net: dsa: microchip: remove MICREL_NO_EEE workaround Heiner Kallweit
2025-01-06 18:36   ` Andrew Lunn
2025-01-07  7:42   ` Oleksij Rempel
2025-01-07 13:03     ` Andrew Lunn
2025-01-07 13:26       ` Oleksij Rempel
2025-01-07 20:08     ` Heiner Kallweit

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).