Heiner Kallweit 657de1cf25 net: phy: smsc: add support for edpd tunable
This adds support for the EDPD PHY tunable.
Per default EDPD is disabled in interrupt mode, the tunable can be used
to override this, e.g. if the link partner doesn't use EDPD.
The interval to check for energy can be chosen between 1000ms and
2000ms. Note that this value consists of the 1000ms phylib interval
for state machine runs plus the time to wait for energy being detected.

v2:
- consider that phylib core holds phydev->lock when calling the
  phy tunable hooks

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-04-03 10:08:43 +01:00
..
2023-02-27 10:04:49 -08:00
2023-02-26 11:47:26 -08:00
2023-03-04 10:53:59 -08:00
2023-03-31 10:39:33 -07:00
2023-03-03 14:41:50 -08:00
2023-02-01 17:23:38 +01:00
2023-03-17 10:45:49 -07:00