mbox series

[net-next,0/3] net: add and use phy_disable_eee

Message ID 5139374e-7151-4d0d-8ba9-9ec3d9b52f67@gmail.com
Headers show
Series net: add and use phy_disable_eee | expand

Message

Heiner Kallweit Dec. 16, 2024, 9:29 p.m. UTC
If a MAC driver doesn't support EEE, then the PHY shouldn't advertise it.
Add phy_disable_eee() for this purpose, and use it in cpsw driver.

Heiner Kallweit (3):
  net: phy: add phy_disable_eee
  net: ethernet: ti: cpsw: disable PHY EEE advertisement
  ARM: dts: ti/omap: remove eee-broken properties

 arch/arm/boot/dts/ti/omap/am335x-baltos.dtsi     |  2 --
 .../arm/boot/dts/ti/omap/am335x-myirtech-myd.dts |  1 -
 .../arm/boot/dts/ti/omap/am5729-beagleboneai.dts |  2 --
 drivers/net/ethernet/ti/cpsw.c                   |  3 ++-
 drivers/net/ethernet/ti/cpsw_ethtool.c           | 12 ------------
 drivers/net/ethernet/ti/cpsw_new.c               |  3 ++-
 drivers/net/ethernet/ti/cpsw_priv.h              |  1 -
 drivers/net/phy/phy_device.c                     | 16 ++++++++++++++++
 include/linux/phy.h                              |  1 +
 9 files changed, 21 insertions(+), 20 deletions(-)