Merge branch 'net-stmmac-dwmac-rk-validate-grf-and-peripheral-grf-during-probe'
authorPaolo Abeni <pabeni@redhat.com>
Thu, 13 Mar 2025 09:45:21 +0000 (10:45 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 13 Mar 2025 09:45:21 +0000 (10:45 +0100)
commitd28fcb72f080c17aefafc37101e9a470f6bbdd91
tree8c9e0fa23421f67c000a32175c7410b079e54e30
parent814dbf4b6c955cad72e787a44f6e0cf90afc8fda
parent41f35564cb71e7043e0afcf30078b4a6145cab64
Merge branch 'net-stmmac-dwmac-rk-validate-grf-and-peripheral-grf-during-probe'

Jonas Karlman says:

====================
net: stmmac: dwmac-rk: Validate GRF and peripheral GRF during probe

All Rockchip GMAC variants typically write to GRF regs to control e.g.
interface mode, speed and MAC rx/tx delay. Newer SoCs such as RK3576 and
RK3588 use a mix of GRF and peripheral GRF regs. These syscon regmaps is
located with help of a rockchip,grf and rockchip,php-grf phandle.

However, validating the rockchip,grf and rockchip,php-grf syscon regmap
is deferred until e.g. interface mode or speed is configured.

This series change to validate the GRF and peripheral GRF syscon regmap
at probe time to help simplify the SoC specific operations.

This should not introduce any backward compatibility issues as all
GMAC nodes have been added together with a rockchip,grf phandle (and
rockchip,php-grf where required) in their initial commit.
====================

Link: https://patch.msgid.link/20250308213720.2517944-1-jonas@kwiboo.se
Signed-off-by: Paolo Abeni <pabeni@redhat.com>