[PATCH net-next v2 0/4] net: add EEE support for KSZ9477 switch series

From: Oleksij Rempel
Date: Fri Jan 20 2023 - 04:21:44 EST


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