Re: [PATCH v3 0/2] net: phy: realtek: Fix RGMII TX/RX-delays initial config of rtl8211(e|f)
From: David Miller <davem@davemloft.net>
Date: 2019-05-08 16:37:33
Also in:
lkml
From: David Miller <davem@davemloft.net>
Date: 2019-05-08 16:37:33
Also in:
lkml
From: Serge Semin <redacted> Date: Wed, 8 May 2019 04:29:18 +0300
It has been discovered that RX/TX delays of rtl8211e ethernet PHY
can be configured via a MDIO register hidden in the extension pages
layout. Particularly the extension page 0xa4 provides a register 0x1c,
which bits 1 and 2 control the described delays. They are used to
implement the "rgmii-{id,rxid,txid}" phy-mode support in patch 1.
The second patch makes sure the rtl8211f TX-delay is configured only
if RGMII interface mode is specified including the rgmii-rxid one.
In other cases (most importantly for NA mode) the delays are supposed
to be preconfigured by some other software or hardware and should be
left as is without any modification. The similar thing is also done
for rtl8211e in the patch 1 of this series.
Signed-off-by: Serge Semin <redacted>These patches do not apply to the current net GIT tree, please respin.