dt-bindings: mtd: meson: Prevent NAND chip unevaluated properties

Ensure all raw NAND chip properties are valid by referencing the
relevant schema and set unevaluatedProperties to false in the NAND chip
section to avoid spurious additions of random properties.

Cc: Liang Yang <liang.yang@amlogic.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-10-miquel.raynal@bootlin.com
This commit is contained in:
Miquel Raynal 2023-06-19 11:29:08 +02:00
parent d58d29623a
commit e37eaf5ebc
1 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,7 @@ properties:
patternProperties:
"^nand@[0-7]$":
type: object
$ref: raw-nand-chip.yaml
properties:
reg:
minimum: 0
@ -63,6 +64,9 @@ patternProperties:
items:
maximum: 0
unevaluatedProperties: false
required:
- compatible
- reg