From: Miquel Raynal Date: Mon, 19 Jun 2023 09:29:06 +0000 (+0200) Subject: dt-bindings: mtd: ingenic: Prevent NAND chip unevaluated properties X-Git-Tag: v6.6.7~2542^2^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=711be9c35a1a6c3d1303f9cbacb98580bcabbb71;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Miquel Raynal Reviewed-by: Rob Herring Link: https://lore.kernel.org/linux-mtd/20230619092916.3028470-8-miquel.raynal@bootlin.com --- diff --git a/Documentation/devicetree/bindings/mtd/ingenic,nand.yaml b/Documentation/devicetree/bindings/mtd/ingenic,nand.yaml index a7bdb5d..b9312eb 100644 --- a/Documentation/devicetree/bindings/mtd/ingenic,nand.yaml +++ b/Documentation/devicetree/bindings/mtd/ingenic,nand.yaml @@ -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