Skip to content

Commit da78768

Browse files
committed
dt-bindings: mtd: Accept nand related node names
There is no addition there, but the mtd.yaml file is so generic, it can be referenced by a wide variety of devices, including nand ones which already define the node name to "nand@<cs>". Right now it does not lead to any failure but when we will constrain more the schema, this will become a problem because we want the mtd-wide properties like label or partitions to be available for the callers. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/linux-mtd/20230619092916.3028470-2-miquel.raynal@bootlin.com
1 parent e871613 commit da78768

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Documentation/devicetree/bindings/mtd

Documentation/devicetree/bindings/mtd/mtd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ maintainers:
1212

1313
properties:
1414
$nodename:
15-
pattern: "^(flash|.*sram)(@.*)?$"
15+
pattern: "^(flash|.*sram|nand)(@.*)?$"
1616

1717
label:
1818
description:

0 commit comments

Comments
 (0)