Commit 711be9c3 authored by Miquel Raynal's avatar Miquel Raynal
Browse files

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: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/linux-mtd/20230619092916.3028470-8-miquel.raynal@bootlin.com
parent 7578bb1f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -39,7 +39,9 @@ properties:
patternProperties:
  "^nand@[a-f0-9]$":
    type: object
    $ref: raw-nand-chip.yaml
    properties:

      rb-gpios:
        description: GPIO specifier for the busy pin.
        maxItems: 1
@@ -48,6 +50,8 @@ patternProperties:
        description: GPIO specifier for the write-protect pin.
        maxItems: 1

    unevaluatedProperties: false

required:
  - compatible
  - reg