Skip to content

Commit 711be9c

Browse files
committed
dt-bindings: mtd: ingenic: Prevent NAND chip unevaluated properties
List all the possible properties in the NAND chip as per the example and set unevaluatedProperties to false in the NAND chip section. Cc: Paul Cercueil <paul@crapouillou.net> 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-8-miquel.raynal@bootlin.com
1 parent 7578bb1 commit 711be9c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Documentation/devicetree/bindings/mtd/ingenic,nand.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ properties:
3939
patternProperties:
4040
"^nand@[a-f0-9]$":
4141
type: object
42+
$ref: raw-nand-chip.yaml
4243
properties:
44+
4345
rb-gpios:
4446
description: GPIO specifier for the busy pin.
4547
maxItems: 1
@@ -48,6 +50,8 @@ patternProperties:
4850
description: GPIO specifier for the write-protect pin.
4951
maxItems: 1
5052

53+
unevaluatedProperties: false
54+
5155
required:
5256
- compatible
5357
- reg

0 commit comments

Comments
 (0)