]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: stmmac: dwmac-rk: Move integrated_phy_powerup/down functions
authorJonas Karlman <jonas@kwiboo.se>
Wed, 19 Mar 2025 21:44:07 +0000 (21:44 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Mar 2025 15:00:55 +0000 (08:00 -0700)
commit0bed91f2b183bc38c216299ce035b44210148785
tree3de1714943901c5ae7cbf781aecf6de947f18e62
parent1725f0eb37d621ce48303ccc14748fb66d618c9e
net: stmmac: dwmac-rk: Move integrated_phy_powerup/down functions

Rockchip RK3528 (and RV1106) has a different integrated PHY compared to
the integrated PHY on RK3228/RK3328. Current powerup/down operation is
not compatible with the integrated PHY found in these SoCs.

Move the rk_gmac_integrated_phy_powerup/down functions to top of the
file to prepare for them to be called directly by a GMAC variant
specific powerup/down operation.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250319214415.3086027-4-jonas@kwiboo.se
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c