mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Alastair D'Silva <alastair@d-silva.org>
Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org,
	linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Chen-Yu Tsai <wens@kernel.org>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Samuel Holland <samuel@sholland.org>,
	Maxime Chevallier <maxime.chevallier@bootlin.com>,
	Maxime Ripard <mripard@kernel.org>
Subject: Re: [PATCH 5/5] arm64: dts: allwinner: sun60i-a733-orangepi-4-pro: Enable GMAC0 Ethernet
Date: Wed, 25 Nov 2026 22:26:31 +0100	[thread overview]
Message-ID: <9d53ad67-33c5-4626-b98e-98c86393ecba@lunn.ch> (raw)
In-Reply-To: <20261125211335.719843-1-alastair@d-silva.org>

> For v2, I will switch the board DTS to phy-mode = "rgmii-id".

Good.

> and drop
> tx-internal-delay-ps so the YT8531 PHY provides the standard ~2 ns
> delays,

Good.
> while keeping ERXIE = 0 and setting rx-internal-delay-ps = <2160>
> to compensate for the RX clock phase (matching existing dwmac-sun55i
> boards).

Not good. Please fix the clock inversion. Since this is a new
compatible, there is no need to preserve old broken behaviour.

The majority of boards should not need rx|tx-internal-delay-ps. The
RGMII standard says there needs to be 2ns. phy-mode rgmii-id means the
MAC/PHY pair will add 2ns. That is typically all that is needed. 

rx|tx-internal-delay-ps are only really needed for badly designed
boards where the lines have not been kept equal length.

	    Andrew

  reply	other threads:[~2026-11-25 21:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 13:06 [PATCH 0/5] net: stmmac: dwmac-sun55i: Add Allwinner A733 GMAC210 support Alastair D'Silva
2026-11-25 13:06 ` [PATCH 1/5] dt-bindings: net: allwinner,sun8i-a83t-emac: Add Allwinner A733 GMAC210 Alastair D'Silva
2026-11-25 13:06 ` [PATCH 2/5] net: stmmac: dwmac-sun55i: Add per-compatible match data Alastair D'Silva
2026-11-25 13:06 ` [PATCH 3/5] net: stmmac: dwmac-sun55i: Add Allwinner A733 GMAC210 support Alastair D'Silva
2026-11-25 17:25   ` Andrew Lunn
2026-11-25 13:06 ` [PATCH 4/5] arm64: dts: allwinner: sun60i-a733: Add GMAC0 node Alastair D'Silva
2026-11-25 13:06 ` [PATCH 5/5] arm64: dts: allwinner: sun60i-a733-orangepi-4-pro: Enable GMAC0 Ethernet Alastair D'Silva
2026-11-25 17:30   ` Andrew Lunn
2026-11-25 21:13     ` Alastair D'Silva
2026-11-25 21:26       ` Andrew Lunn [this message]
2026-11-26  6:33 ` [PATCH 0/5] net: stmmac: dwmac-sun55i: Add Allwinner A733 GMAC210 support Junhui Liu
2026-11-26  6:38   ` Alastair D'Silva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9d53ad67-33c5-4626-b98e-98c86393ecba@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=alastair@d-silva.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@kernel.org \
    --cc=jernej.skrabec@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=maxime.chevallier@bootlin.com \
    --cc=mripard@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=robh@kernel.org \
    --cc=samuel@sholland.org \
    --cc=wens@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®