From: Joseph Telaak <joseph@telaak.dev>
To: netdev@vger.kernel.org
Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
Maxime Chevallier <maxime.chevallier@bootlin.com>
Subject: Re: [PATCH net-next v2 3/3] net: stmmac: Add Siflower SF19A2890 glue
Date: Thu, 3 Dec 2026 22:27:22 -0500 [thread overview]
Message-ID: <20261204032722.559-1-joseph@telaak.dev> (raw)
In-Reply-To: <20261201-sf19a2890-gmac-v2-3-8d2c513db496@telaak.dev>
The netdev-ai review of this patch [1] raised two points beyond what I
answered on the sashiko.dev review (NVMEM=n, and the delay flags where
the lines are left alone), which v3 will fix as said there. I tested
both on a GL-SFT1200, changing its device tree for each case.
> These flags are set whenever the calibration parses, and
> plat_dat->phy_interface is never checked. Does this make probe fail for
> any phy-mode other than rgmii-id?
Yes. v3 will leave the delay lines alone for modes other than RGMII,
and bypass the RX line unless phy-mode asks for an RX delay. With that,
rgmii-txid passes traffic with the calibration given. rgmii and
rgmii-rxid cannot work, since the TX line has no bypass, and the binding
will limit phy-mode to gmii, mii, rgmii-id, rgmii-txid and rmii.
> The binding describes byp_ref as the "RGMII transmit reference clock".
> Here the clock is enabled, but the handle is dropped and never stored
> in plat_dat->clk_tx_i. No set_clk_tx_rate or fix_mac_speed hook is
> installed either.
The SoC divides it itself. With the link to the switch forced to 100
and 10 Mb/s, both run at line rate (93 and 9.3 Mb/s) with byp_ref at
125 MHz. Setting byp_ref to 25 MHz stops the 100 Mb/s link, so v3 will
keep leaving its rate alone, and the commit message will say why.
[1] https://netdev-ai.bots.linux.dev/sashiko/#/message/20261201-sf19a2890-gmac-v2-3-8d2c513db496%40telaak.dev
Thanks,
Joseph
prev parent reply other threads:[~2026-12-04 3:27 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 7:00 [PATCH net-next v2 0/3] net: stmmac: Add the Siflower SF19A2890 glue Joseph Telaak
2026-12-01 7:00 ` Joseph Telaak via B4 Relay
2026-12-01 7:00 ` [PATCH net-next v2 1/3] dt-bindings: net: ethernet-controller: Allow a device-specific nvmem cell Joseph Telaak
2026-12-01 7:00 ` Joseph Telaak via B4 Relay
2026-12-02 7:00 ` sashiko-bot
2026-12-02 8:12 ` Joseph Telaak
2026-12-03 22:01 ` netdev-bot+sashiko
2026-12-01 7:00 ` [PATCH net-next v2 2/3] dt-bindings: net: Add Siflower SF19A2890 GMAC Joseph Telaak
2026-12-01 7:00 ` Joseph Telaak via B4 Relay
2026-12-02 7:00 ` sashiko-bot
2026-12-03 22:01 ` netdev-bot+sashiko
2026-12-01 7:00 ` [PATCH net-next v2 3/3] net: stmmac: Add Siflower SF19A2890 glue Joseph Telaak
2026-12-01 7:00 ` Joseph Telaak via B4 Relay
2026-12-02 7:00 ` sashiko-bot
2026-12-02 8:12 ` Joseph Telaak
2026-12-03 22:01 ` netdev-bot+sashiko
2026-12-04 3:27 ` Joseph Telaak [this message]
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=20261204032722.559-1-joseph@telaak.dev \
--to=joseph@telaak.dev \
--cc=andrew+netdev@lunn.ch \
--cc=maxime.chevallier@bootlin.com \
--cc=netdev@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.