From: Rob Herring <robh@kernel.org>
To: Matthew Gerlach <matthew.gerlach@altera.com>
Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, krzk+dt@kernel.org,
conor+dt@kernel.org, mcoquelin.stm32@gmail.com,
alexandre.torgue@foss.st.com, dinguyen@kernel.org,
maxime.chevallier@bootlin.com, richardcochran@gmail.com,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/4] dt-bindings: net: altr,socfpga-stmmac: Add compatible string for Agilex5
Date: Mon, 14 Jul 2025 22:57:31 -0500 [thread overview]
Message-ID: <20250715035731.GA14648-robh@kernel.org> (raw)
In-Reply-To: <20250714152528.311398-2-matthew.gerlach@altera.com>
On Mon, Jul 14, 2025 at 08:25:25AM -0700, Matthew Gerlach wrote:
> Add compatible string for the Altera Agilex5 variant of the Synopsys DWC
> XGMAC IP version 2.10.
>
> Signed-off-by: Matthew Gerlach <matthew.gerlach@altera.com>
> ---
> .../devicetree/bindings/net/altr,socfpga-stmmac.yaml | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml b/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
> index ec34daff2aa0..6d5c31c891de 100644
> --- a/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
> +++ b/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
> @@ -11,8 +11,8 @@ maintainers:
>
> description:
> This binding describes the Altera SOCFPGA SoC implementation of the
> - Synopsys DWMAC for the Cyclone5, Arria5, Stratix10, and Agilex7 families
> - of chips.
> + Synopsys DWMAC for the Cyclone5, Arria5, Stratix10, Agilex5 and Agilex7
> + families of chips.
> # TODO: Determine how to handle the Arria10 reset-name, stmmaceth-ocp, that
> # does not validate against net/snps,dwmac.yaml.
>
> @@ -23,6 +23,7 @@ select:
> enum:
> - altr,socfpga-stmmac
> - altr,socfpga-stmmac-a10-s10
> + - altr,socfpga-stmmac-agilex5
>
> required:
> - compatible
> @@ -42,6 +43,10 @@ properties:
> - const: altr,socfpga-stmmac-a10-s10
> - const: snps,dwmac-3.74a
> - const: snps,dwmac
> + - items:
> + - const: altr,socfpga-stmmac-agilex5
> + - const: snps,dwxgmac-2.10
> + - const: snps,dwxgmac
Is the distinction here useful? I doubt it, so I'd just drop the last
one. Generally, we've moved away from any generic compatible for
licensed IP like this because there's *always* some SoC specific
difference.
Rob
next prev parent reply other threads:[~2025-07-15 3:57 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-14 15:25 [PATCH 0/4] arm64: dts: socfpga: enable ethernet support for Agilex5 Matthew Gerlach
2025-07-14 15:25 ` [PATCH 1/4] dt-bindings: net: altr,socfpga-stmmac: Add compatible string " Matthew Gerlach
2025-07-15 3:57 ` Rob Herring [this message]
2025-07-15 15:53 ` Matthew Gerlach
2025-07-14 15:25 ` [PATCH 2/4] arm64: dts: Agilex5 Add gmac nodes to DTSI " Matthew Gerlach
2025-07-14 15:25 ` [PATCH 3/4] arm64: dts: socfpga: agilex5: enable gmac2 on the Agilex5 dev kit Matthew Gerlach
2025-07-14 17:25 ` Andrew Lunn
2025-07-14 18:09 ` Matthew Gerlach
2025-07-14 18:52 ` Andrew Lunn
2025-07-14 22:29 ` Matthew Gerlach
2025-07-14 22:50 ` Andrew Lunn
2025-07-23 21:32 ` Matthew Gerlach
2025-07-14 22:57 ` Andrew Lunn
2025-07-14 15:25 ` [PATCH 4/4] net: stmmac: dwmac-socfpga: Add xgmac support for Agilex5 Matthew Gerlach
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=20250715035731.GA14648-robh@kernel.org \
--to=robh@kernel.org \
--cc=alexandre.torgue@foss.st.com \
--cc=andrew+netdev@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=dinguyen@kernel.org \
--cc=edumazet@google.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=matthew.gerlach@altera.com \
--cc=maxime.chevallier@bootlin.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=richardcochran@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).