Skip to content

Commit d028c1c

Browse files
committed
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 <heiko@sntech.de> 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-14-miquel.raynal@bootlin.com
1 parent 1dcd314 commit d028c1c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Documentation/devicetree/bindings/mtd/rockchip,nand-controller.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ properties:
5757
patternProperties:
5858
"^nand@[0-7]$":
5959
type: object
60+
$ref: raw-nand-chip.yaml
6061
properties:
6162
reg:
6263
minimum: 0
@@ -116,6 +117,8 @@ patternProperties:
116117
117118
Only used in combination with 'nand-is-boot-medium'.
118119
120+
unevaluatedProperties: false
121+
119122
required:
120123
- compatible
121124
- reg

0 commit comments

Comments
 (0)