mbox series

[net-next,0/3] net: dsa: add support for phylink managed EEE

Message ID Z6N_ge7H5oTYt6n8@shell.armlinux.org.uk (mailing list archive)
Headers show
Series net: dsa: add support for phylink managed EEE | expand

Message

Russell King (Oracle) Feb. 5, 2025, 3:10 p.m. UTC
Hi,

This series adds support for phylink managed EEE to DSA, and converts
mt753x to make use of this feature.

Patch 1 implements a helper to indicate whether the MAC LPI operations
are populated (suggested by Vladimir)

Patch 2 makes the necessary changes to the core code - we retain calling
set_mac_eee(), but this method now becomes a way to merely validate the
arguments when using phylink managed EEE rather than performing any
configuration.

Patch 3 converts the mt7530 driver to use phylink managed EEE.

 drivers/net/dsa/mt7530.c  | 69 ++++++++++++++++++++++++++++++++---------------
 drivers/net/phy/phylink.c |  3 +--
 include/linux/phylink.h   | 12 +++++++++
 net/dsa/user.c            | 21 +++++++++------
 4 files changed, 74 insertions(+), 31 deletions(-)