Thread (6 messages) 6 messages, 3 authors, 2025-07-25

Re: [PATCH] arm64: dts: rockchip: use MAC TX delay for ROCK 4D

From: "Russell King (Oracle)" <linux@armlinux.org.uk>
Date: 2025-07-24 18:17:03
Also in: linux-arm-kernel, linux-rockchip, lkml

On Thu, Jul 24, 2025 at 04:31:25PM +0200, Sebastian Reichel wrote:
According to the Ethernet controller device tree binding "rgmii-id"
means, that the PCB does not have extra long lines to add the required
delays. This is indeed the case for the ROCK 4D.

The problem is, that the Rockchip MAC Linux driver interprets the
interface type differently and abuses the information to configure
RX and TX delays in the MAC using (vendor) properties 'rx_delay' and
'tx_delay'.

When Detlev Casanova upstreamed the ROCK 4D device tree, he used the
correct description for the board ("rgmii-id"). This results in no delays
being configured in the MAC. At the same time the PHY will provide
some delays.
So why can't the MAC be fixed to conform to the requirements that are
well documented for RGMII?

-- 
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