From: Andrew Lunn <andrew@lunn.ch>
To: Andre Przywara <andre.przywara@arm.com>
Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
"David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
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>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
Junhui Liu <junhui.liu@pigmoral.tech>,
Liu Changjie <liucj1228@outlook.com>,
Per Larsson <per@palvencia.se>,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next v3 2/5] net: phy: Add support for the Maxio MAE0621A
Date: Sun, 27 Sep 2026 19:23:13 +0200 [thread overview]
Message-ID: <c47f2a80-5b29-4fe0-9944-cbad125ce000@lunn.ch> (raw)
In-Reply-To: <20260926225625.25969-3-andre.przywara@arm.com>
On Sun, Sep 27, 2026 at 12:56:22AM +0200, Andre Przywara wrote:
> From: Liu Changjie <liucj1228@outlook.com>
>
> Add exact PHY ID matching and optional 125 MHz CLKOUT configuration
> for the Maxio MAE0621A Gigabit Ethernet PHY. Preserve the existing
> hardware configuration when the firmware property is absent.
>
> Signed-off-by: Liu Changjie <liucj1228@outlook.com>
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> Reviewed-by: Andrew Lunn <andrew@lunn.ch>
I sent a follow up email saying i was withdrawing this
Reviewed-by. Please ensure it has been dropped for the moment.
pw-bot: cr
This is an RGMII PHY. However it totally ignores phydev->interface.
There are four values which we require the PHY driver to act on:
PHY_INTERFACE_MODE_RGMII,
PHY_INTERFACE_MODE_RGMII_ID,
PHY_INTERFACE_MODE_RGMII_RXID,
PHY_INTERFACE_MODE_RGMII_TXID,
Every other RGMII PHY in linux will configure the delays based on
these values. If these values are ignored, bad things will happen.
From what i understand, the delays are currently configured by
strapping. We are going to get into situations where the strapping and
what the MAC requests are different but no errors are reported. DT
developers are already bad with RGMII delays, and this is just going
to make it worse.
So you have some choices:
1) Implement configuring the delays in the PHY driver
2) Find out how the delays are currently configured and return
EOPNOTSUPP if the requested configuration is different to the
current configuration.
3) Always return EOPNOTSUPP for all the RGMII values, and only accept
PHY_INTERFACE_MODE_NA, which means configuration has been performed
using some other mechanism, the PHY driver should not change it.
Additionally, my understanding is this PHY will respond to address 0
as a broadcast address. This is not part of 802.3, and always causes
issues. Please ensure this is turned off.
Andrew
next prev parent reply other threads:[~2026-09-27 17:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-26 22:56 [PATCH net-next v3 0/5] net: phy: Add Maxio MAE0621A support Andre Przywara
2026-09-26 22:56 ` [PATCH net-next v3 1/5] dt-bindings: net: Add Maxio MAE0621A PHY Andre Przywara
2026-09-26 22:56 ` [PATCH net-next v3 2/5] net: phy: Add support for the Maxio MAE0621A Andre Przywara
2026-09-27 17:23 ` Andrew Lunn [this message]
2026-09-27 23:01 ` sashiko-bot
2026-09-26 22:56 ` [PATCH net-next v3 3/5] net: phy: maxio: prepare for more DT properties Andre Przywara
2026-09-27 17:31 ` Andrew Lunn
2026-09-26 22:56 ` [PATCH net-next v3 4/5] net: phy: maxio: parse and enable PHY clock from generic DT binding Andre Przywara
2026-09-27 17:29 ` Andrew Lunn
2026-09-27 23:01 ` sashiko-bot
2026-09-26 22:56 ` [PATCH net-next v3 5/5] net: phy: maxio: add support for -Q2C variant Andre Przywara
2026-09-27 17:31 ` 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=c47f2a80-5b29-4fe0-9944-cbad125ce000@lunn.ch \
--to=andrew@lunn.ch \
--cc=andre.przywara@arm.com \
--cc=andrew+netdev@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=hkallweit1@gmail.com \
--cc=junhui.liu@pigmoral.tech \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=liucj1228@outlook.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=per@palvencia.se \
--cc=robh@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