dt-bindings: mtd: Accept nand related node names
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 19 Jun 2023 09:29:00 +0000 (11:29 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 22 Jun 2023 21:03:21 +0000 (23:03 +0200)
commitda787688a5a08ece05a2f752d38b281fab8df846
tree6f1971bb18545ab966276cabf5adc50be57f3595
parente87161321a4081d36c4af95af7f0950137569dfe
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
Documentation/devicetree/bindings/mtd/mtd.yaml