Article View: linux.kernel.netdev
Article #25653Re: [PATCH net-next v2 1/3] dt-bindings: net: ethernet-controller: Allow a device-specific nvmem cell
From: Joseph Telaak
Date: Wed, 02 Dec 2026 08:12
Date: Wed, 02 Dec 2026 08:12
23 lines
10667 bytes
10667 bytes
> For a fixed two-entry nvmem-cells property corresponding to the > nvmem-cell-names items list below, DT binding conventions prefer an items > list carrying a per-entry description rather than maxItems with a free-form > description that enumerates the entries and restates their optionality. v3 will list the two cells under items, each with its description. > Does defining nvmem-cell-names as a positional items tuple require index 0 > to always be mac-address while leaving index 1 unconstrained across every > binding that inherits ethernet-controller.yaml? Yes to both. A fixed order of names is how bindings usually list them, and on the SF19A2890 the MAC address and the delay calibration are in the same factory partition, so a board with only the calibration cell is not expected. A binding that needs that can allow it. ethernet-controller.yaml cannot name the second cell, since the cell belongs to the device, so a binding that does not narrow nvmem-cell-names accepts any name there. The SF19A2890 binding narrows it to rgmii-delay. I don't see a way for a device binding to add a cell without loosening the common schema, but I'm happy to follow another approach if the DT maintainers prefer one.
Technical Details
Message-ID:
<20261202081227.6384-1-joseph@telaak.dev>Path:
mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375620-linux-kernel-netdev=dewy.ruReferences:
<sashiko-outbox-245013@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375620-linux-kernel-netdev=dewy.ru
From: joseph@telaak.dev (Joseph Telaak)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v2 1/3] dt-bindings: net: ethernet-controller: Allow a device-specific nvmem cell
Date: Wed, 2 Dec 2026 03:12:27 -0500
Organization: Usenet Network
Message-ID: <20261202081227.6384-1-joseph@telaak.dev>
References: <sashiko-outbox-245013@kernel.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="1920476"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:V38MAZj2ExcONk+SWan3drMt+0Y= sha256:DGoHqJ5SX01yt8tKGuKH+Z2Zk8UQ4QyYaC4hMSnoer0=
sha1:NMYy9nJuwBPlwHpxHdBdFN+RYZM= sha256:+AkhbtHi3vYxxfQnXGAEfucAw0+WSOgXt+b4YvTUECw=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 173BB117598; Wed, 2 Dec 2026 11:12:47 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31
tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
autolearn=ham autolearn_force=no
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 2CqW-mlQxzaO;
Wed, 2 Dec 2026 11:12:40 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-375620-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=telaak.dev
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
by mail.dewy.ru (Postfix) with ESMTPS id 4BF9F11758D; Wed, 2 Dec 2026 11:12:36 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sto.lore.kernel.org (Postfix) with ESMTP id 3F5C3601924; Wed, 2 Dec 2026 08:12:35 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1796199152;
b=PmuoZNrv5d0CMhjYmWmhbdZaV1ubFFDROYNfGCpH86jqaIWzjsgkqUK9WdQblJKXzOUR
0EVMNuJrH4CszrpGFnVNTi+9JTKYhWGu+j4iJE16GWwWHyDLEjholKbvrldO3vIjJLY1a
AgQfY2uMilS+ljfbQMkMHzhZ36tZzAUg7WtCyAwn5gnUGspfDwOME2zKLutkQdTwoHKAo
W2ZwswCfqv9mjdhap2e6ucXFoHDJ3a/AoUaBdZwOPjjVGO/m6tlnS/zZjBpGqXX6utyse
dqc3cBj7mxoNGJFr/+1b98O/pogNzQW2p/9G/AjlBlc8Xt+XA0wyTTOo24wO0DDMNgw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796199152;
h=X-Original-To:Received:DMARC-Filter:Received:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:
X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
List-Unsubscribe:List-Owner:Precedence:MIME-Version:
Content-Transfer-Encoding;
bh=0HIo4rz8axlN13jY68i+vELhbg/704KN0U7GSSgJ3SI=;
b=yhPrUPIpnZm4hB6Ihll4sp5CA2XQHwvIzmhznA8mS4h+99mBZqDjDMCHWEFqpxvHz66x
Px2hp1mFHL0EaDSrz6w9lPym85luuOtWxED10PFPolFwsIv2FplQYHFkyEuXQnzo5amL1
S9d07P3MJLVXfpqYTRYjOUBkPicbtzE601G5xt/HzEU1xTx0EFnTPbup4PV6t4rV/odAN
Y1rzqWKtgVBRmUBQtvKMbJ8AIfncv2kFeEMVPVeUyH2HLwbqCawUlTpFQg7bnSos9gX7n
xHZHfBBcK7dsPGH4CqpUOQ1H7f0okdt81peEkclDrj0mxQzzrzXw+OCtoRcb5ldtRDg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dmarc=none header.from=telaak.dev;
spf=pass smtp.mailfrom=gmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 4EAEE606A325;
Wed, 2 Dec 2026 08:12:32 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.175
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1796199151;
b=1ewj7HgfXyfBOiHoFvvuvMrQXnY5W+V6aNMxjLbf/j4GgKzbDaQWXAPjJC7cDMobGpaN
y/MRBOC/7sv88T8RYLc0KsaP2oSVWY0x4RffjyHMoU5/La0KGM2VnJ3+gmhTpmym8PmCU
5GjQoipB/GQmsupMFRAYqPf1LJulI9LKT7fkWBsjjHllP/0ENnPbcZI35cPVbNSskBbgR
5TxE9G2yDcTjJis8b5hOsvFQ68fXRvItWZKpXXKm9D7BN8zTR71Td0bpajjrC32hc1QUH
Icos10U0ziuw9R9w7dYYkfrSDYBIPjCLvz1cBwyXgp0LhVdPrkv04OYCNdo/oGMhDFg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796199151;
h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Forwarded-Encrypted:
X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject:
Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version:
Content-Transfer-Encoding;
bh=0HIo4rz8axlN13jY68i+vELhbg/704KN0U7GSSgJ3SI=;
b=b9XQXaBsU0zkK3qRK0A1tRe5JEbCV7nvsTpvjrVPKDgJPAnXr4SYnibgObQwqiOndJm1
8daZqsm7mozTJO/xr755or8kTRvAePqZFeqgj7zTI3HxmRUjaI/HkQpl6hu9QbWarDO2X
C/VyavfhOBTaKc1my3WrLKG72P+HifpKP8EBBCW9s0Av5gkwpqrQ0NAt6b7QnOM2Yy7vA
s3DZi2moAtBUtYHygyVlY+OwycIAZa0yI8YePSP/GtnkBVo3JUbJOEkI5EeNOylYp0rir
0KiWyXnfo9EtAui2CN3llyT4jFR3j4klp7PcOTSKp4daAJiYLL83Yvt/Xx/l9byylqQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=none header.from=telaak.dev;
spf=pass smtp.mailfrom=gmail.com;
arc=none smtp.remote-ip=209.85.128.175
X-Received: from mail-yw1-f175.google.com (mail-yw1-f175.google.com [209.85.128.175])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4916E606A31A
for <netdev@vger.kernel.org>; Wed, 2 Dec 2026 08:12:31 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4916E606A31A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=telaak.dev
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-yw1-f175.google.com with SMTP id 00721157ae682-8b4fb5d96b3so196598807b3.1
for <netdev@vger.kernel.org>; Wed, 02 Dec 2026 00:12:31 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1796199150; x=1796803950;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=0HIo4rz8axlN13jY68i+vELhbg/704K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ONeLwKU5dNFQmsydTtPl3sljxRqQSHA2TSxZKpLX4D
otnGg8P6usmGEgUl6PiH4E8ePambndzm6wd247Fj10IGGoKWJ6mxC1/fUEzNIMN8WAtrvnwFjcV
qhkHY/TKy6pSohXxXOdwiG4Y1adBOsKdjHVBggOSvxjxPt64tUBJ4/Vt3BluavPIJkFzc2qNY2g
jY+hh4ulOlQvyxhyl5RPqUKkbwbRlU2A=
X-Received: by 2002:a05:690c:6e8b:b0:8b4:c69d:17e3 with SMTP id 00721157ae682-8b520501322mr164572607b3.32.1796199150350;
Wed, 02 Dec 2026 00:12:30 -0800 (PST)
X-Received: from localhost.localdomain ([71.68.170.161])
by smtp.gmail.com with ESMTPSA id 00721157ae682-8b52034f7absm154405927b3.41.2026.12.02.00.12.28
(version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);
Wed, 02 Dec 2026 00:12:29 -0800 (PST)
X-Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
netdev@vger.kernel.org,
devicetree@vger.kernel.org
X-Mailer: git-send-email 2.50.1
X-In-Reply-To: <sashiko-outbox-245013@kernel.org>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list