From: Xianwei Zhao <xianwei.zhao@amlogic.com>
To: Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
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>
Cc: linux-spi@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org,
netdev@vger.kernel.org, Xianwei Zhao <xianwei.zhao@amlogic.com>
Subject: [PATCH v2 2/3] dt-bindings: net: meson-dwmac: add T7 support
Date: Thu, 24 Sep 2026 05:51:09 +0000 [thread overview]
Message-ID: <20260924-t7-node-new-v2-2-319d3c19b4b2@amlogic.com> (raw)
In-Reply-To: <20260924-t7-node-new-v2-0-319d3c19b4b2@amlogic.com>
Add the T7 compatible to the Meson DWMAC binding.
The T7 DWMAC controller requires the following compatible combination:
amlogic,t7-dwmac
amlogic,meson-axg-dwmac
snps,dwmac-4.00
Add a conditional schema check to enforce this compatible combination
when amlogic,t7-dwmac is used.
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
---
.../devicetree/bindings/net/amlogic,meson-dwmac.yaml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml b/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
index 5c91716d1f21..b529ca5577a9 100644
--- a/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
@@ -23,11 +23,24 @@ select:
- amlogic,meson-gxbb-dwmac
- amlogic,meson-axg-dwmac
- amlogic,meson-g12a-dwmac
+ - amlogic,t7-dwmac
required:
- compatible
allOf:
- $ref: snps,dwmac.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: amlogic,t7-dwmac
+ then:
+ properties:
+ compatible:
+ items:
+ - const: amlogic,t7-dwmac
+ - const: amlogic,meson-axg-dwmac
+ - const: snps,dwmac-4.00
- if:
properties:
compatible:
@@ -38,6 +51,7 @@ allOf:
- amlogic,meson-gxbb-dwmac
- amlogic,meson-axg-dwmac
- amlogic,meson-g12a-dwmac
+ - amlogic,t7-dwmac
then:
properties:
@@ -93,6 +107,7 @@ allOf:
- amlogic,meson8m2-dwmac
- amlogic,meson-gxbb-dwmac
- amlogic,meson-axg-dwmac
+ - amlogic,t7-dwmac
then:
properties:
rx-internal-delay-ps:
@@ -139,8 +154,10 @@ properties:
- amlogic,meson-gxbb-dwmac
- amlogic,meson-axg-dwmac
- amlogic,meson-g12a-dwmac
+ - amlogic,t7-dwmac
contains:
enum:
+ - snps,dwmac-4.00
- snps,dwmac-3.70a
- snps,dwmac
--
2.52.0
WARNING: multiple messages have this Message-ID (diff)
From: Xianwei Zhao via B4 Relay <devnull+xianwei.zhao.amlogic.com@kernel.org>
To: Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
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>
Cc: linux-spi@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org,
netdev@vger.kernel.org, Xianwei Zhao <xianwei.zhao@amlogic.com>
Subject: [PATCH v2 2/3] dt-bindings: net: meson-dwmac: add T7 support
Date: Thu, 24 Sep 2026 05:51:09 +0000 [thread overview]
Message-ID: <20260924-t7-node-new-v2-2-319d3c19b4b2@amlogic.com> (raw)
In-Reply-To: <20260924-t7-node-new-v2-0-319d3c19b4b2@amlogic.com>
From: Xianwei Zhao <xianwei.zhao@amlogic.com>
Add the T7 compatible to the Meson DWMAC binding.
The T7 DWMAC controller requires the following compatible combination:
amlogic,t7-dwmac
amlogic,meson-axg-dwmac
snps,dwmac-4.00
Add a conditional schema check to enforce this compatible combination
when amlogic,t7-dwmac is used.
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
---
.../devicetree/bindings/net/amlogic,meson-dwmac.yaml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml b/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
index 5c91716d1f21..b529ca5577a9 100644
--- a/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
@@ -23,11 +23,24 @@ select:
- amlogic,meson-gxbb-dwmac
- amlogic,meson-axg-dwmac
- amlogic,meson-g12a-dwmac
+ - amlogic,t7-dwmac
required:
- compatible
allOf:
- $ref: snps,dwmac.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: amlogic,t7-dwmac
+ then:
+ properties:
+ compatible:
+ items:
+ - const: amlogic,t7-dwmac
+ - const: amlogic,meson-axg-dwmac
+ - const: snps,dwmac-4.00
- if:
properties:
compatible:
@@ -38,6 +51,7 @@ allOf:
- amlogic,meson-gxbb-dwmac
- amlogic,meson-axg-dwmac
- amlogic,meson-g12a-dwmac
+ - amlogic,t7-dwmac
then:
properties:
@@ -93,6 +107,7 @@ allOf:
- amlogic,meson8m2-dwmac
- amlogic,meson-gxbb-dwmac
- amlogic,meson-axg-dwmac
+ - amlogic,t7-dwmac
then:
properties:
rx-internal-delay-ps:
@@ -139,8 +154,10 @@ properties:
- amlogic,meson-gxbb-dwmac
- amlogic,meson-axg-dwmac
- amlogic,meson-g12a-dwmac
+ - amlogic,t7-dwmac
contains:
enum:
+ - snps,dwmac-4.00
- snps,dwmac-3.70a
- snps,dwmac
--
2.52.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
WARNING: multiple messages have this Message-ID (diff)
From: Xianwei Zhao via B4 Relay <devnull+xianwei.zhao.amlogic.com@kernel.org>
To: Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
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>
Cc: linux-spi@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org,
netdev@vger.kernel.org, Xianwei Zhao <xianwei.zhao@amlogic.com>
Subject: [PATCH v2 2/3] dt-bindings: net: meson-dwmac: add T7 support
Date: Thu, 24 Sep 2026 05:51:09 +0000 [thread overview]
Message-ID: <20260924-t7-node-new-v2-2-319d3c19b4b2@amlogic.com> (raw)
In-Reply-To: <20260924-t7-node-new-v2-0-319d3c19b4b2@amlogic.com>
From: Xianwei Zhao <xianwei.zhao@amlogic.com>
Add the T7 compatible to the Meson DWMAC binding.
The T7 DWMAC controller requires the following compatible combination:
amlogic,t7-dwmac
amlogic,meson-axg-dwmac
snps,dwmac-4.00
Add a conditional schema check to enforce this compatible combination
when amlogic,t7-dwmac is used.
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
---
.../devicetree/bindings/net/amlogic,meson-dwmac.yaml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml b/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
index 5c91716d1f21..b529ca5577a9 100644
--- a/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
@@ -23,11 +23,24 @@ select:
- amlogic,meson-gxbb-dwmac
- amlogic,meson-axg-dwmac
- amlogic,meson-g12a-dwmac
+ - amlogic,t7-dwmac
required:
- compatible
allOf:
- $ref: snps,dwmac.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: amlogic,t7-dwmac
+ then:
+ properties:
+ compatible:
+ items:
+ - const: amlogic,t7-dwmac
+ - const: amlogic,meson-axg-dwmac
+ - const: snps,dwmac-4.00
- if:
properties:
compatible:
@@ -38,6 +51,7 @@ allOf:
- amlogic,meson-gxbb-dwmac
- amlogic,meson-axg-dwmac
- amlogic,meson-g12a-dwmac
+ - amlogic,t7-dwmac
then:
properties:
@@ -93,6 +107,7 @@ allOf:
- amlogic,meson8m2-dwmac
- amlogic,meson-gxbb-dwmac
- amlogic,meson-axg-dwmac
+ - amlogic,t7-dwmac
then:
properties:
rx-internal-delay-ps:
@@ -139,8 +154,10 @@ properties:
- amlogic,meson-gxbb-dwmac
- amlogic,meson-axg-dwmac
- amlogic,meson-g12a-dwmac
+ - amlogic,t7-dwmac
contains:
enum:
+ - snps,dwmac-4.00
- snps,dwmac-3.70a
- snps,dwmac
--
2.52.0
next prev parent reply other threads:[~2026-09-24 5:51 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-24 5:51 [PATCH v2 0/3] t7: add some nodes for Amlogc t7 Xianwei Zhao
2026-09-24 5:51 ` Xianwei Zhao via B4 Relay
2026-09-24 5:51 ` Xianwei Zhao via B4 Relay
2026-09-24 5:51 ` [PATCH v2 1/3] spi: dt-bindings: amlogic,meson-gx-spicc: add T7 compatible Xianwei Zhao
2026-09-24 5:51 ` Xianwei Zhao via B4 Relay
2026-09-24 5:51 ` Xianwei Zhao via B4 Relay
2026-09-24 5:51 ` Xianwei Zhao [this message]
2026-09-24 5:51 ` [PATCH v2 2/3] dt-bindings: net: meson-dwmac: add T7 support Xianwei Zhao via B4 Relay
2026-09-24 5:51 ` Xianwei Zhao via B4 Relay
2026-09-24 17:21 ` Conor Dooley
2026-09-24 17:21 ` Conor Dooley
2026-10-04 14:06 ` Lucas Tanure
2026-10-04 14:06 ` Lucas Tanure
2026-10-04 15:35 ` Lucas Tanure
2026-10-04 15:35 ` Lucas Tanure
2026-09-24 5:51 ` [PATCH v2 3/3] arm64: dts: amlogic: add T7 peripheral nodes Xianwei Zhao
2026-09-24 5:51 ` Xianwei Zhao via B4 Relay
2026-09-24 5:51 ` Xianwei Zhao via B4 Relay
2026-09-24 11:33 ` Ronald Claveau
2026-09-24 11:33 ` Ronald Claveau
2026-09-25 5:51 ` sashiko-bot
2026-09-25 5:51 ` sashiko-bot
2026-09-28 16:29 ` (subset) [PATCH v2 0/3] t7: add some nodes for Amlogc t7 Mark Brown
2026-09-28 16:29 ` Mark Brown
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=20260924-t7-node-new-v2-2-319d3c19b4b2@amlogic.com \
--to=xianwei.zhao@amlogic.com \
--cc=andrew+netdev@lunn.ch \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=neil.armstrong@linaro.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--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 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.