Netdev List
 help / color / mirror / Atom feed
From: Joseph Telaak <joseph@telaak.dev>
To: sashiko-reviews@lists.linux.dev
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
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	[thread overview]
Message-ID: <20261202081227.6384-1-joseph@telaak.dev> (raw)
In-Reply-To: <sashiko-outbox-245013@kernel.org>

> 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.

       reply	other threads:[~2026-12-02  8:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <sashiko-outbox-245013@kernel.org>
2026-12-02  8:12 ` Joseph Telaak [this message]
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 ` [PATCH net-next v2 1/3] dt-bindings: net: ethernet-controller: Allow a device-specific nvmem cell 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=20261202081227.6384-1-joseph@telaak.dev \
    --to=joseph@telaak.dev \
    --cc=andrew+netdev@lunn.ch \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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