Problematic understanding of phy-mode in Rockchip DWMAC driver
Yao Zi
me at ziyao.cc
Sun Feb 15 20:44:27 PST 2026
On Fri, Feb 13, 2026 at 06:47:14PM +0000, Russell King (Oracle) wrote:
> On Fri, Feb 13, 2026 at 06:26:44PM +0000, Yao Zi wrote:
> > Hi folks,
> >
> > I was looking through the RGMII delay setup logic found in
> > rk_gmac_powerup() of dwmac-rk.c, and found its behavior is strange,
>
> dwmac-rk is very broken and is unfixable thanks to Rockchip not
> understanding the RGMII interface modes used by the kernel.
>
> It is what it is, we can't change it without causing regressions.
> Please do not try to fix it.
Thanks for confirming. I understand concerns about regressions and
agree keeping the driver/dts as-is is better.
However, should we mention the difference between "phy-mode" defined
ethernet-controller.yaml and "phy-mode" understood by dwmac-rk
driver in rockchip-dwmac.yaml to avoid confusion in the future?
Regards,
Yao Zi
> --
> RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
> FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
More information about the Linux-rockchip
mailing list