net: stmmac: dwmac-imx: use platform specific reset for imx93 SoCs
authorShenwei Wang <shenwei.wang@nxp.com>
Mon, 3 Apr 2023 22:23:02 +0000 (17:23 -0500)
committerJakub Kicinski <kuba@kernel.org>
Thu, 6 Apr 2023 02:01:22 +0000 (19:01 -0700)
commitb536f32b5b034f592df0f0ba129ad59fa0f3e532
tree814f9578737cfc57af517705c767fe637f24fcba
parent10739ea3132861b1344264b110ea48d951a0e3b0
net: stmmac: dwmac-imx: use platform specific reset for imx93 SoCs

The patch addresses an issue with the reset logic on the i.MX93 SoC, which
requires configuration of the correct interface speed under RMII mode to
complete the reset. The patch implements a fix_soc_reset function and uses
it specifically for the i.MX93 SoCs.

Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230403222302.328262-2-shenwei.wang@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c