]> www.infradead.org Git - users/hch/misc.git/commit
net: stmmac: dwmac-rk: Add initial support for RK3528 integrated PHY
authorJonas Karlman <jonas@kwiboo.se>
Wed, 19 Mar 2025 21:44:09 +0000 (21:44 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Mar 2025 15:00:56 +0000 (08:00 -0700)
commit83e7b35c7879497b51fd3fcd3a17b0b07f89e81b
treef828d6e1e35bf3a8b5d0c2720756fbfce4b3627c
parent32c7bc0747bbd8ee4ee32026d36a24be56117d96
net: stmmac: dwmac-rk: Add initial support for RK3528 integrated PHY

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 newer SoCs.

Add operations to powerup/down the integrated PHY found in RK3528.
Use helpers that can be used by other GMAC variants in the future.

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