From 7578bb1f9273aa47d540f71fef446118821784b1 Mon Sep 17 00:00:00 2001 From: Miquel Raynal Date: Mon, 19 Jun 2023 11:29:05 +0200 Subject: [PATCH] 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 Signed-off-by: Miquel Raynal Reviewed-by: Rob Herring Link: https://lore.kernel.org/linux-mtd/20230619092916.3028470-7-miquel.raynal@bootlin.com --- Documentation/devicetree/bindings/mtd/qcom,nandc.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml b/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml index 3d77922dfaef7..4ada60fbf81de 100644 --- a/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml +++ b/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml @@ -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# -- 2.30.2