aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2023-06-19 11:29:08 +0200
committerMiquel Raynal <[email protected]>2023-06-22 23:07:11 +0200
commite37eaf5ebc5be693f76f9d53ea55828fe5af5ffb (patch)
tree5bb48ea38b35009c79332dc286c2d8737fd92f9d
parentd58d29623a8aa3f6b34f4c4fadf4c0de821fcbff (diff)
dt-bindings: mtd: meson: Prevent NAND chip unevaluated properties
Ensure all raw NAND chip properties are valid by referencing the relevant schema and set unevaluatedProperties to false in the NAND chip section to avoid spurious additions of random properties. Cc: Liang Yang <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
-rw-r--r--Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml b/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml
index 3bec8af91bbb..787ef488dd5b 100644
--- a/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml
+++ b/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml
@@ -40,6 +40,7 @@ properties:
patternProperties:
"^nand@[0-7]$":
type: object
+ $ref: raw-nand-chip.yaml
properties:
reg:
minimum: 0
@@ -63,6 +64,9 @@ patternProperties:
items:
maximum: 0
+ unevaluatedProperties: false
+
+
required:
- compatible
- reg