diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2023-06-19 12:29:08 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2023-06-23 00:07:11 +0300 |
commit | e37eaf5ebc5be693f76f9d53ea55828fe5af5ffb (patch) | |
tree | 5bb48ea38b35009c79332dc286c2d8737fd92f9d /Documentation/devicetree/bindings/mtd | |
parent | d58d29623a8aa3f6b34f4c4fadf4c0de821fcbff (diff) | |
download | linux-e37eaf5ebc5be693f76f9d53ea55828fe5af5ffb.tar.xz |
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 <liang.yang@amlogic.com>
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-10-miquel.raynal@bootlin.com
Diffstat (limited to 'Documentation/devicetree/bindings/mtd')
-rw-r--r-- | Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml | 4 |
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 |