From: "Rob Herring (Arm)" <robh@kernel.org>
To: Alexey Charkov <alchark@flipper.net>
Cc: "Rafał Miłecki" <rafal@milecki.pl>,
"Ricardo Pardini" <ricardo@pardini.net>,
linux-rockchip@lists.infradead.org,
"Srinivas Kandagatla" <srini@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Russell King" <linux@armlinux.org.uk>,
"David S. Miller" <davem@davemloft.net>,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, "Paolo Abeni" <pabeni@redhat.com>,
"Heiner Kallweit" <hkallweit1@gmail.com>,
"Ryan Leung" <untilscour@protonmail.com>,
netdev@vger.kernel.org, "Andrew Lunn" <andrew+netdev@lunn.ch>,
"Jakub Kicinski" <kuba@kernel.org>,
"Heiko Stuebner" <heiko@sntech.de>,
"Eric Dumazet" <edumazet@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Simon Horman" <horms@kernel.org>, "Andrew Lunn" <andrew@lunn.ch>,
"Willem de Bruijn" <willemb@google.com>
Subject: Re: [PATCH v5 2/5] dt-bindings: net: ethernet-controller: Allow a unique ID NVMEM cell
Date: Thu, 3 Dec 2026 12:47:59 -0600 [thread overview]
Message-ID: <179632367938.160975.16752205287949601330.robh@kernel.org> (raw)
In-Reply-To: <20261125-rk3576-otp-cpuid-mac-v5-2-b3125c9a5fc8@flipper.net>
On Wed, 25 Nov 2026 23:36:39 +0400, Alexey Charkov wrote:
> Boards without dedicated storage for a MAC address often still have an
> identifier unique to the device, such as a SoC serial number in OTP
> memory, and bootloaders on several platforms derive a stable MAC address
> from it. The device tree can only reference a stored MAC address, so
> such boards depend on the bootloader patching the derived one in.
>
> Allow referencing the unique ID as a "unique-id" NVMEM cell instead.
> Leave the derivation to the binding of the referenced cell, as it differs
> between platforms.
>
> Signed-off-by: Alexey Charkov <alchark@flipper.net>
> ---
> .../devicetree/bindings/net/ethernet-controller.yaml | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
next prev parent reply other threads:[~2026-12-03 18:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 19:36 [PATCH v5 0/5] net: Derive stable MAC addresses from a unique device ID Alexey Charkov
2026-11-25 19:36 ` [PATCH v5 1/5] dt-bindings: nvmem: fixed-cell: Add Rockchip CPU ID Alexey Charkov
2026-12-03 18:47 ` Rob Herring (Arm)
2026-11-25 19:36 ` [PATCH v5 2/5] dt-bindings: net: ethernet-controller: Allow a unique ID NVMEM cell Alexey Charkov
2026-12-03 18:47 ` Rob Herring (Arm) [this message]
2026-11-25 19:36 ` [PATCH v5 3/5] net: of_net: Derive MAC addresses from a unique device ID Alexey Charkov
2026-11-26 4:02 ` Ryan Leung
2026-12-01 1:30 ` Andrew Lunn
2026-12-01 4:17 ` Alexey Charkov
2026-12-01 13:05 ` Andrew Lunn
2026-11-25 19:36 ` [PATCH v5 4/5] arm64: dts: rockchip: Move RK3576 OTP cells into a fixed layout Alexey Charkov
2026-11-25 19:36 ` [PATCH v5 5/5] arm64: dts: rockchip: Derive GMAC MAC addresses from OTP on RK3576 Alexey Charkov
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=179632367938.160975.16752205287949601330.robh@kernel.org \
--to=robh@kernel.org \
--cc=alchark@flipper.net \
--cc=andrew+netdev@lunn.ch \
--cc=andrew@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@kernel.org \
--cc=heiko@sntech.de \
--cc=hkallweit1@gmail.com \
--cc=horms@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rafal@milecki.pl \
--cc=ricardo@pardini.net \
--cc=srini@kernel.org \
--cc=untilscour@protonmail.com \
--cc=willemb@google.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