]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: phy: micrel: Add ksz9131_resume()
authorBiju Das <biju.das.jz@bp.renesas.com>
Fri, 11 Jul 2025 05:40:21 +0000 (06:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:28:21 +0000 (16:28 +0200)
commit05ee035af6d8e28fa80d2f4d6166af4e00301d6f
treeb97ed7e2850184b11a91f87193b4fc8390348c6a
parentfd6a21638a1eeb30363499f2a19b3fa108e945c2
net: phy: micrel: Add ksz9131_resume()

[ Upstream commit f25a7eaa897f21396e99f90809af82ca553c9d14 ]

The Renesas RZ/G3E SMARC EVK uses KSZ9131RNXC phy. On deep power state,
PHY loses the power and on wakeup the rgmii delays are not reconfigured
causing it to fail.

Replace the callback kszphy_resume()->ksz9131_resume() for reconfiguring
the rgmii_delay when it exits from PM suspend state.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250711054029.48536-1-biju.das.jz@bp.renesas.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/phy/micrel.c