diff options
author | Miquel Raynal <[email protected]> | 2023-06-19 11:29:12 +0200 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2023-06-22 23:08:35 +0200 |
commit | d028c1cf2c56317cb7e34fd5e37c45db48fe498a (patch) | |
tree | 9e8508f851d713cb8fec38e5b376d59240fc4f32 | |
parent | 1dcd314282957c3ed8e5faba1641b6382fe13b90 (diff) |
dt-bindings: mtd: rockchip: 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: Heiko Stuebner <[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/rockchip,nand-controller.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/rockchip,nand-controller.yaml b/Documentation/devicetree/bindings/mtd/rockchip,nand-controller.yaml index 7eb1d0a38565..ee53715ffdca 100644 --- a/Documentation/devicetree/bindings/mtd/rockchip,nand-controller.yaml +++ b/Documentation/devicetree/bindings/mtd/rockchip,nand-controller.yaml @@ -57,6 +57,7 @@ properties: patternProperties: "^nand@[0-7]$": type: object + $ref: raw-nand-chip.yaml properties: reg: minimum: 0 @@ -116,6 +117,8 @@ patternProperties: Only used in combination with 'nand-is-boot-medium'. + unevaluatedProperties: false + required: - compatible - reg |