mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/4] net: add EEE support for KSZ9477 switch series
@ 2023-01-20  9:20 Oleksij Rempel
  2023-01-20  9:20 ` [PATCH net-next v2 1/4] net: phy: add driver specific get/set_eee support Oleksij Rempel
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Oleksij Rempel @ 2023-01-20  9:20 UTC (permalink / raw)
  To: Woojung Huh, UNGLinuxDriver, Andrew Lunn, Vivien Didelot,
	Florian Fainelli, Vladimir Oltean, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni
  Cc: Oleksij Rempel, kernel, linux-kernel, netdev, Arun.Ramadoss

changes v2:
- use phydev->supported instead of reading MII_BMSR regiaster
- fix @get_eee > @set_eee

With this patch series we provide EEE support for KSZ9477 family of switches.
According to my tests, on a system with KSZ8563 switch and 100Mbit idle link,
we consume 0,192W less power per port if EEE is enabled.

Oleksij Rempel (4):
  net: phy: add driver specific get/set_eee support
  net: phy: micrel: add EEE configuration support for KSZ9477 variants
    of PHYs
  net: phy: micrel: disable 1000Mbit EEE support if 1000Mbit is not
    supported
  net: dsa: microchip: enable EEE support

 drivers/net/dsa/microchip/ksz_common.c |  35 +++++++++
 drivers/net/phy/micrel.c               | 102 ++++++++++++++++++++++++-
 drivers/net/phy/phy.c                  |   6 ++
 include/linux/phy.h                    |   5 ++
 4 files changed, 147 insertions(+), 1 deletion(-)

-- 
2.30.2


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

end of thread, other threads:[~2023-01-20 14:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-20  9:20 [PATCH net-next v2 0/4] net: add EEE support for KSZ9477 switch series Oleksij Rempel
2023-01-20  9:20 ` [PATCH net-next v2 1/4] net: phy: add driver specific get/set_eee support Oleksij Rempel
2023-01-20  9:20 ` [PATCH net-next v2 2/4] net: phy: micrel: add EEE configuration support for KSZ9477 variants of PHYs Oleksij Rempel
2023-01-20 14:30   ` Arun.Ramadoss
2023-01-20  9:20 ` [PATCH net-next v2 3/4] net: phy: micrel: disable 1000Mbit EEE support if 1000Mbit is not supported Oleksij Rempel
2023-01-20  9:20 ` [PATCH net-next v2 4/4] net: dsa: microchip: enable EEE support Oleksij Rempel
2023-01-20 14:25   ` Arun.Ramadoss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome