Files
linux/drivers
Andrew Lunn 6a2495adc0 net: fec: Fixup EEE
The enabling/disabling of EEE in the MAC should happen as a result of
auto negotiation. So move the enable/disable into
fec_enet_adjust_link() which gets called by phylib when there is a
change in link status.

fec_enet_set_eee() now just stores away the LPI timer value.
Everything else is passed to phylib, so it can correctly setup the
PHY.

fec_enet_get_eee() relies on phylib doing most of the work,
the MAC driver just adds the LPI timer value.

Call phy_support_eee() if the quirk is present to indicate the MAC
actually supports EEE.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Oleksij Rempel <o.rempel@pengutronix.de> (On iMX8MP debix)
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Wei Fang <wei.fang@nxp.com>
Link: https://lore.kernel.org/r/20240302195306.3207716-8-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-03-05 19:21:17 -08:00
..
2024-02-06 20:07:35 +02:00
2024-02-06 14:10:47 +08:00
2023-12-15 17:07:05 +01:00
2024-02-05 16:16:24 +01:00
2024-03-05 19:21:17 -08:00
2023-12-11 09:10:42 +01:00
2024-01-05 15:55:41 +05:30
2024-02-27 12:52:51 +00:00
2023-12-15 17:27:04 +01:00
2024-02-06 20:07:12 +02:00
2024-01-04 17:03:47 +01:00
2024-01-12 12:38:37 +01:00