Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: mtd: nand: Standardize the child node name

In almost all the schema mentioning a NAND chip child node, the name of
the subnode contains a single index number.

In practice there are currently no controller supporting more than 8 cs
so even the [a-f] numbers are not needed. But let's be safe and limit
the number of touched files by just allow a single number everywhere, so
in practice up to 16 CS at most. This value can anyway be limited in
each schema.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/linux-mtd/20221114090315.848208-6-miquel.raynal@bootlin.com

+2 -2
+1 -1
Documentation/devicetree/bindings/mtd/allwinner,sun4i-a10-nand.yaml
··· 47 47 const: rxtx 48 48 49 49 patternProperties: 50 - "^nand@[a-f0-9]+$": 50 + "^nand@[a-f0-9]$": 51 51 type: object 52 52 properties: 53 53 reg:
+1 -1
Documentation/devicetree/bindings/mtd/intel,lgm-ebunand.yaml
··· 40 40 - const: rx 41 41 42 42 patternProperties: 43 - "^nand@[a-f0-9]+$": 43 + "^nand@[a-f0-9]$": 44 44 type: object 45 45 properties: 46 46 reg: