Commit da787688 authored by Miquel Raynal's avatar Miquel Raynal

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: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/linux-mtd/20230619092916.3028470-2-miquel.raynal@bootlin.com
parent e8716132
...@@ -12,7 +12,7 @@ maintainers: ...@@ -12,7 +12,7 @@ maintainers:
properties: properties:
$nodename: $nodename:
pattern: "^(flash|.*sram)(@.*)?$" pattern: "^(flash|.*sram|nand)(@.*)?$"
label: label:
description: description:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment