Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Joseph Telaak via B4 Relay
Tue, 01 Dec 2026 07:00
[PATCH net-next v2 1/3] dt-bindings: net: ethernet-controller: Allow a device-specific nvmem cell
Author: Joseph Telaak via B4 Relay
Date: Tue, 01 Dec 2026 07:00
Date: Tue, 01 Dec 2026 07:00
45 lines
12035 bytes
12035 bytes
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)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads