Re: [PATCH v4 1/4] dt-bindings: mtd: raw-nand-chip: Relax node name pattern

From
Rob Herring (Arm) <robh@kernel.org>
Date
2025-03-17 16:01:38
Also in
linux-devicetree, lkml
Reply to
J. Neuschäfer via B4 Relay, 2025-03-13
On Thu, 13 Mar 2025 22:35:44 +0100, J. Neuschäfer wrote:
In some scenarios, such as under the Freescale eLBC bus, there are raw
NAND chips with a unit address that has a comma in it (cs,offset).
For reasons of compatibility with historical device trees and
readability of the unit addresses, this format is kept.

Relax the $nodename pattern in raw-nand-chip.yaml to allow such unit
addresses. Unfortunately $nonenames defined in bindings that reference
raw-nand

Signed-off-by: J. Neuschäfer <redacted>
---

V4:
- reintroduce patch to silence dtc validation error, after discussion
  with Rob Herring and Miquèl Raynal
- add some more detail to the commit message
- remove unit address format rather than extending it
  (old pattern: "^nand@[a-f0-9](,[0-9a-f]*)?$")

V3:
- remove patch after discussion with Miquèl Raynal

V2:
- new patch
---
 Documentation/devicetree/bindings/mtd/raw-nand-chip.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>

Thread (8 messages) 8 messages, 2 authors, last reply 2025-03-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help