From: Joseph Telaak via B4 Relay <devnull+joseph.telaak.dev@kernel.org>
To: Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
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>,
Richard Cochran <richardcochran@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Jose Abreu <joabreu@synopsys.com>,
Maxime Chevallier <maxime.chevallier@bootlin.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Chuanhong Guo <gch981213@gmail.com>,
Russell King <linux@armlinux.org.uk>,
linux-mips@vger.kernel.org, netdev@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Joseph Telaak <joseph@telaak.dev>
Subject: [PATCH net-next v2 1/3] dt-bindings: net: ethernet-controller: Allow a device-specific nvmem cell
Date: Tue, 01 Dec 2026 02:00:25 -0500 [thread overview]
Message-ID: <20261201-sf19a2890-gmac-v2-1-8d2c513db496@telaak.dev> (raw)
In-Reply-To: <20261201-sf19a2890-gmac-v2-0-8d2c513db496@telaak.dev>
From: Joseph Telaak <joseph@telaak.dev>
An Ethernet controller may take more from nvmem than its MAC address,
such as a factory calibration. Every MAC binding includes
ethernet-controller.yaml, which allows only the mac-address cell, so no
binding can add a cell of its own.
Allow a second cell after mac-address, which the device's binding names
and describes. The first user is the Siflower SF19A2890 GMAC, whose
RGMII delay lines are calibrated per unit at the factory.
Signed-off-by: Joseph Telaak <joseph@telaak.dev>
---
.../devicetree/bindings/net/ethernet-controller.yaml | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
index 30b2a335116e..da27ff8012eb 100644
--- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml
+++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
@@ -22,12 +22,17 @@ properties:
Specifies maximum speed in Mbit/s supported by the device.
nvmem-cells:
- maxItems: 1
+ minItems: 1
+ maxItems: 2
description:
- Reference to an nvmem node for the MAC address
+ Reference to an nvmem node for the MAC address, then optionally to a
+ cell that the device's own binding describes
nvmem-cell-names:
- const: mac-address
+ minItems: 1
+ items:
+ - const: mac-address
+ - description: Named by the device's own binding
phy-connection-type:
description:
--
Git-155)
next prev parent reply other threads:[~2026-12-01 7:00 UTC|newest]
Thread overview: 4+ 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 via B4 Relay
2026-12-01 7:00 ` Joseph Telaak via B4 Relay [this message]
2026-12-01 7:00 ` [PATCH net-next v2 2/3] dt-bindings: net: Add Siflower SF19A2890 GMAC Joseph Telaak via B4 Relay
2026-12-01 7:00 ` [PATCH net-next v2 3/3] net: stmmac: Add Siflower SF19A2890 glue Joseph Telaak via B4 Relay
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=20261201-sf19a2890-gmac-v2-1-8d2c513db496@telaak.dev \
--to=devnull+joseph.telaak.dev@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=edumazet@kernel.org \
--cc=gch981213@gmail.com \
--cc=joabreu@synopsys.com \
--cc=joseph@telaak.dev \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=maxime.chevallier@bootlin.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=richardcochran@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®