]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: phy: dp83867: Disable EEE support as not implemented
authorEmanuele Ghidoli <emanuele.ghidoli@toradex.com>
Thu, 23 Oct 2025 14:48:53 +0000 (16:48 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 25 Oct 2025 02:10:03 +0000 (19:10 -0700)
commit84a905290cb4c3d9a71a9e3b2f2e02e031e7512f
treef5f88ea3ff137d2b19e453a2b8acb138311deb07
parent1ab665817448c31f4758dce43c455bd4c5e460aa
net: phy: dp83867: Disable EEE support as not implemented

While the DP83867 PHYs report EEE capability through their feature
registers, the actual hardware does not support EEE (see Links).
When the connected MAC enables EEE, it causes link instability and
communication failures.

The issue is reproducible with a iMX8MP and relevant stmmac ethernet port.
Since the introduction of phylink-managed EEE support in the stmmac driver,
EEE is now enabled by default, leading to issues on systems using the
DP83867 PHY.

Call phy_disable_eee during phy initialization to prevent EEE from being
enabled on DP83867 PHYs.

Link: https://e2e.ti.com/support/interface-group/interface/f/interface-forum/1445244/dp83867ir-dp83867-disable-eee-lpi
Link: https://e2e.ti.com/support/interface-group/interface/f/interface-forum/658638/dp83867ir-eee-energy-efficient-ethernet
Fixes: 2a10154abcb7 ("net: phy: dp83867: Add TI dp83867 phy")
Cc: stable@vger.kernel.org
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20251023144857.529566-1-ghidoliemanuele@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/dp83867.c