mbox series

[net-next,v1,0/7] make SmartEEE support controllable

Message ID 20230214090314.2026067-1-o.rempel@pengutronix.de (mailing list archive)
Headers show
Series make SmartEEE support controllable | expand

Message

Oleksij Rempel Feb. 14, 2023, 9:03 a.m. UTC
Some PHYs (for example AR8035) provide so called SmartEEE support. Which
allows to use EEE with MACs withotu EEE ability.

Since this functionality is usually enabled by default, it may have
negative impact in some use cases (for example PTP). Or even preventing use of
all link modes without PHY driver assistance (for example full range of
half-duplex modes).

To address at leas some of this issues we need to pass EEE ethtool access to
PHY drivers. Which is done in this patch set.

Oleksij Rempel (7):
  net: phy: add driver specific get/set_eee support
  net: phy: at803x: implement ethtool access to SmartEEE functionality
  net: phy: at803x: ar8035: fix EEE support for half duplex links
  net: phy: add PHY specifica flag to signal SmartEEE support
  net: phy: at803x: add PHY_SMART_EEE flag to AR8035
  net: phy: add phy_has_smarteee() helper
  net: fec: add support for PHYs with SmartEEE support

 drivers/net/ethernet/freescale/fec_main.c |  22 +++-
 drivers/net/phy/at803x.c                  | 142 +++++++++++++++++++++-
 drivers/net/phy/phy.c                     |   6 +
 include/linux/phy.h                       |  15 +++
 4 files changed, 175 insertions(+), 10 deletions(-)