Skip to content

Commit be907ba

Browse files
committed
dt-bindings: mtd: stm32: 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: Maxime Coquelin <mcoquelin.stm32@gmail.com> Cc: Alexandre Torgue <alexandre.torgue@foss.st.com> Cc: Christophe Kerello <christophe.kerello@foss.st.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-15-miquel.raynal@bootlin.com
1 parent d028c1c commit be907ba

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,16 @@ properties:
3737
patternProperties:
3838
"^nand@[a-f0-9]$":
3939
type: object
40+
$ref: raw-nand-chip.yaml
4041
properties:
4142
nand-ecc-step-size:
4243
const: 512
4344

4445
nand-ecc-strength:
4546
enum: [1, 4, 8]
4647

48+
unevaluatedProperties: false
49+
4750
allOf:
4851
- $ref: nand-controller.yaml#
4952

0 commit comments

Comments
 (0)