Skip to content

Commit 7578bb1

Browse files
committed
dt-bindings: mtd: qcom: 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: Manivannan Sadhasivam <mani@kernel.org> 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-7-miquel.raynal@bootlin.com
1 parent 411a121 commit 7578bb1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Documentation/devicetree/bindings/mtd/qcom,nandc.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ properties:
3434
patternProperties:
3535
"^nand@[a-f0-9]$":
3636
type: object
37+
$ref: raw-nand-chip.yaml
3738
properties:
39+
3840
nand-bus-width:
3941
const: 8
4042

@@ -61,6 +63,8 @@ patternProperties:
6163

6264
Refer to the ipq8064 example on how to use this special binding.
6365

66+
unevaluatedProperties: false
67+
6468
allOf:
6569
- $ref: nand-controller.yaml#
6670

0 commit comments

Comments
 (0)