]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: stmmac: rk: convert rk3588 to mask-based interface mode config
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 2 Feb 2026 10:04:00 +0000 (10:04 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 4 Feb 2026 01:59:07 +0000 (17:59 -0800)
commit600fe01e947af664f2ec385cecd7e8033e098e4d
treefecf971b88a6f8852c42ed95d6b731ffa08de30f
parent31d28d062aa85422d6cd1225d415a30ff7fc2872
net: stmmac: rk: convert rk3588 to mask-based interface mode config

rk3588 has a quirk compared to the other Rockchip implementations in
that the interface mode configuration register is in the php_grf
regmap rather than the grf regmap. Add a flag to indicate this, and
a separate function to write to the appropriate regmap. This allows
rk3588 to be converted.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1vmqmm-00000007VCP-2XZc@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c