From: BG9OXA <bg9oxa@163.com>
To: linux-rockchip@lists.infradead.org
Cc: Andrew Lunn <andrew@lunn.ch>,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
Heiko Stuebner <heiko@sntech.de>
Subject: Re: [PATCH v2 0/2] arm64: dts: rockchip: add ALIENTEK QuarkPi-CA2
Date: Thu, 01 Oct 2026 21:17:01 +0800 [thread overview]
Message-ID: <179086062104.25951.4172888328376175948@163.com> (raw)
In-Reply-To: <de8c3f72-26d1-4c9a-86c6-12afb3fe97d6@lunn.ch>
Hello Andrew,
Following up on the phy-mode point, with the measurements I promised.
I ran three 15-minute runs at full rate in both directions on this board
(rk_gmac-dwmac + YT8531 PHY, iperf3, 900 s per direction), rebooting
between runs so each configuration was fresh:
mode tx_delay rx_delay board->host host->board retrans
rgmii-rxid 0x2f 0x00 922 Mbit/s 939 Mbit/s 0
rgmii 0x2f 0x00 922 Mbit/s 939 Mbit/s 0
rgmii-id 0x00 0x00 918 Mbit/s 939 Mbit/s 224
The MAC error counters (rx/tx errors and drops) stayed at zero in all
three runs, and the link came up at 1000 Mb/s Full duplex every time.
So plain "rgmii" with the delay added on the MAC side behaves exactly
like the rxid form, and the "rgmii-id" run - where both sides add the
delay - is the only one that shows retransmissions. That matches your
point that only one side should add the delay. I have changed 2/2 to
phy-mode = "rgmii" and dropped the rxid form: the RGMII traces on this
board are ordinary length, so nothing in the PCB asks for an extra RX
delay.
While reworking it I also addressed the two things sashiko raised: the
enable-active-high property is now present, and the codec node no longer
carries a clock-names property, which everest,es8328.yaml does not allow.
The codec compatible list is "everest,es8388", "everest,es8328", as that
binding documents, and dtbs_check is clean for the node.
I also removed a stray phy-supply from u2phy0_otg, the USB 2.0 PHY of the
USB-C OTG port. That rail is the Type-C VBUS and belongs to the TCPC;
with the PHY holding it enabled as well, VBUS was powered from boot and
the port never finished a source attach, so DisplayPort altmode never
came up. The full change list is in the v3 cover letter.
Thanks again for the careful review - the phy-mode explanation in
particular was worth the rework.
BG9OXA
next prev parent reply other threads:[~2026-10-01 13:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-27 13:51 [PATCH v2 0/2] arm64: dts: rockchip: add ALIENTEK QuarkPi-CA2 BG9OXA
2026-09-27 16:10 ` Andrew Lunn
2026-09-28 12:01 ` BG9OXA
2026-10-01 13:17 ` BG9OXA [this message]
2026-10-01 13:33 ` Andrew Lunn
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=179086062104.25951.4172888328376175948@163.com \
--to=bg9oxa@163.com \
--cc=andrew@lunn.ch \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.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