netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] microchip/micrel switch: replace MICREL_NO_EEE workaround
@ 2024-12-20 13:50 Heiner Kallweit
  2024-12-20 13:51 ` [PATCH net-next 1/2] net: phy: micrel: disable EEE on KSZ9477-type PHY Heiner Kallweit
  2024-12-20 13:53 ` [PATCH net-next 2/2] net: dsa: microchip: remove MICREL_NO_EEE workaround Heiner Kallweit
  0 siblings, 2 replies; 5+ messages in thread
From: Heiner Kallweit @ 2024-12-20 13:50 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 the erratum handling by simply
clearing phydev->supported_eee for this PHY type.

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] 5+ messages in thread

end of thread, other threads:[~2024-12-20 18:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-20 13:50 [PATCH net-next 0/2] microchip/micrel switch: replace MICREL_NO_EEE workaround Heiner Kallweit
2024-12-20 13:51 ` [PATCH net-next 1/2] net: phy: micrel: disable EEE on KSZ9477-type PHY Heiner Kallweit
2024-12-20 14:40   ` Oleksij Rempel
2024-12-20 18:02     ` Heiner Kallweit
2024-12-20 13:53 ` [PATCH net-next 2/2] net: dsa: microchip: remove MICREL_NO_EEE workaround 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).