Commit 7578bb1f authored by Miquel Raynal's avatar Miquel Raynal
Browse files

dt-bindings: mtd: qcom: 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: Manivannan Sadhasivam <mani@kernel.org>
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-7-miquel.raynal@bootlin.com
parent 411a1215
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -34,7 +34,9 @@ properties:
patternProperties:
  "^nand@[a-f0-9]$":
    type: object
    $ref: raw-nand-chip.yaml
    properties:

      nand-bus-width:
        const: 8

@@ -61,6 +63,8 @@ patternProperties:

          Refer to the ipq8064 example on how to use this special binding.

    unevaluatedProperties: false

allOf:
  - $ref: nand-controller.yaml#