[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210414152657.12097-2-michael@walle.cc>
Date: Wed, 14 Apr 2021 17:26:55 +0200
From: Michael Walle <michael@...le.cc>
To: netdev@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Rob Herring <robh+dt@...nel.org>, Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
Frank Rowand <frowand.list@...il.com>,
Michael Walle <michael@...le.cc>
Subject: [PATCH net-next 1/3] dt-bindings: net: add nvmem-mac-address-offset property
It is already possible to read the MAC address via a NVMEM provider. But
there are boards, esp. with many ports, which only have a base MAC
address stored. Thus we need to have a way to provide an offset per
network device.
Signed-off-by: Michael Walle <michael@...le.cc>
---
.../devicetree/bindings/net/ethernet-controller.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
index e8f04687a3e0..1a8517b0e445 100644
--- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml
+++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
@@ -52,6 +52,12 @@ properties:
nvmem-cell-names:
const: mac-address
+ nvmem-mac-address-offset:
+ maxItems: 1
+ description:
+ Specifies an offset which will be added to the MAC address when
+ fetched from a nvmem cell.
+
phy-connection-type:
description:
Specifies interface type between the Ethernet device and a physical
--
2.20.1
Powered by blists - more mailing lists