[PATCH v2 12/12] dt-bindings: mtd: raw-nand-chip: Relax node name pattern

From: J. Neuschäfer via B4 Relay
Date: Fri Feb 07 2025 - 16:33:15 EST


From: "J. Neuschäfer" <j.ne@xxxxxxxxxx>

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).
Relax the $nodename pattern in raw-nand-chip.yaml to allow such unit
addresses.

Signed-off-by: J. Neuschäfer <j.ne@xxxxxxxxxx>
---

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..1c9e3a40d8f9f77115525e5a6be0951aae001ae0 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@[a-f0-9](,[0-9a-f]*)?$"

reg:
description:

--
2.48.0.rc1.219.gb6b6757d772