[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250313-ppcyaml-elbc-v4-1-55903722d9ea@posteo.net>
Date: Thu, 13 Mar 2025 22:35:44 +0100
From: J. Neuschäfer via B4 Relay <devnull+j.ne.posteo.net@...nel.org>
To: Krzysztof Kozlowski <krzk@...nel.org>, Rob Herring <robh@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>, Vignesh Raghavendra <vigneshr@...com>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Crystal Wood <oss@...error.net>,
Madhavan Srinivasan <maddy@...ux.ibm.com>,
Michael Ellerman <mpe@...erman.id.au>, Nicholas Piggin <npiggin@...il.com>,
Christophe Leroy <christophe.leroy@...roup.eu>,
Naveen N Rao <naveen@...nel.org>
Cc: Frank Li <Frank.Li@....com>, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, linux-mtd@...ts.infradead.org,
linuxppc-dev@...ts.ozlabs.org,
J. Neuschäfer <j.ne@...teo.net>
Subject: [PATCH v4 1/4] dt-bindings: mtd: raw-nand-chip: Relax node name
pattern
From: "J. Neuschäfer" <j.ne@...teo.net>
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 <j.ne@...teo.net>
---
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(-)
diff --git a/Documentation/devicetree/bindings/mtd/raw-nand-chip.yaml b/Documentation/devicetree/bindings/mtd/raw-nand-chip.yaml
index 092448d7bfc5ccd246ca4b2341464e18722a2d51..d655f6673fc31b1d9ee7cd734cbe1d310f88090b 100644
--- a/Documentation/devicetree/bindings/mtd/raw-nand-chip.yaml
+++ b/Documentation/devicetree/bindings/mtd/raw-nand-chip.yaml
@@ -25,7 +25,7 @@ description: |
properties:
$nodename:
- pattern: "^nand@[a-f0-9]$"
+ pattern: "^nand@"
reg:
description:
--
2.48.0.rc1.219.gb6b6757d772
Powered by blists - more mailing lists