diff options
author | 2023-06-19 11:29:05 +0200 | |
---|---|---|
committer | 2023-06-22 23:05:14 +0200 | |
commit | 7578bb1f9273aa47d540f71fef446118821784b1 (patch) | |
tree | 03466f3149b6097a9c3d62c9ace5ba2cca5ee9fb | |
parent | dt-bindings: mtd: qcom: Fix a property position (diff) | |
download | wireguard-linux-7578bb1f9273aa47d540f71fef446118821784b1.tar.xz wireguard-linux-7578bb1f9273aa47d540f71fef446118821784b1.zip |
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: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/linux-mtd/20230619092916.3028470-7-miquel.raynal@bootlin.com
-rw-r--r-- | Documentation/devicetree/bindings/mtd/qcom,nandc.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml b/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml index 3d77922dfaef..4ada60fbf81d 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# |