Thread (10 messages) 10 messages, 5 authors, 2026-02-24

Re: Problematic understanding of phy-mode in Rockchip DWMAC driver

From: Yao Zi <me@ziyao.cc>
Date: 2026-02-16 04:45:10
Also in: linux-arm-kernel, linux-devicetree, linux-rockchip

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:
quoted
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!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help