dt-bindings: mtd: intel: Prevent NAND chip unevaluated properties
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 19 Jun 2023 09:29:11 +0000 (11:29 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 22 Jun 2023 21:08:31 +0000 (23:08 +0200)
commit1dcd314282957c3ed8e5faba1641b6382fe13b90
tree5f7bc8b655225519d6af1d63ec029ac26f544de9
parent129a70a17cfc4140fd4f1dd6e1f5e767248c8c74
dt-bindings: mtd: intel: Prevent NAND chip unevaluated properties

nand-ecc-mode is a generic property which may apply to any raw NAND
chip, it does not need to be listed in each controller
description. Instead, let's reference the raw NAND chip description file
which contains the property. The description contained
"additionalProperties: false" which is wrong as other properties such as
partitions might very well be added in the final .dts, and anyway needs
to be converted into "unexpectedProperties: false" to fit the property
change new requirements.

Cc: Vadivel Murugan <vadivel.muruganx.ramuthevar@linux.intel.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/linux-mtd/20230619092916.3028470-13-miquel.raynal@bootlin.com
Documentation/devicetree/bindings/mtd/intel,lgm-ebunand.yaml