[PATCH net-next 6/9] net: stmmac: qcom-ethqos: warn about legacy RGMII PHY modes
From: Mohd Ayaan Anwar
Date: Thu Sep 03 2026 - 15:14:06 EST
The qcom-ethqos driver is moving towards using "rgmii-id" together
with PHY-provided delays. However, existing DTBs use "rgmii" and
"rgmii-txid" and must remain supported for backwards compatibility.
Warn when either of these legacy PHY modes is used to encourage users
to migrate to updated DTBs using "rgmii-id".
Signed-off-by: Mohd Ayaan Anwar <mohd.anwar@xxxxxxxxxxxxxxxx>
---
drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c
index 67738c1598c50ade22f2d548a6d66911c348af51..2ca2f03de30174c9771fdc517c0e21e3b392ad76 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c
@@ -554,6 +554,8 @@ static void ethqos_fix_mac_speed_rgmii(void *bsp_priv,
return;
}
+ dev_warn(dev, "legacy RGMII phy-mode detected; consider upgrading to a newer DTB\n");
+
/* Initialize the DLL first */
/* Set DLL_RST */
--
2.34.1