Commit d85cebfb authored by Miquel Raynal's avatar Miquel Raynal

dt-bindings: mtd: Argue in favor of keeping additionalProperties set to true

In most cases we try to avoid it but in some cases this is
needed. Clarify why by adding a small comment.
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/linux-mtd/20221114090315.848208-16-miquel.raynal@bootlin.com
parent f4b37577
...@@ -60,6 +60,7 @@ patternProperties: ...@@ -60,6 +60,7 @@ patternProperties:
required: required:
- compatible - compatible
# This is a generic file other binding inherit from
additionalProperties: true additionalProperties: true
examples: examples:
......
...@@ -70,4 +70,5 @@ properties: ...@@ -70,4 +70,5 @@ properties:
required: required:
- reg - reg
# This file can be referenced by more specific devices (like spi-nands)
additionalProperties: true additionalProperties: true
...@@ -129,6 +129,7 @@ required: ...@@ -129,6 +129,7 @@ required:
- "#address-cells" - "#address-cells"
- "#size-cells" - "#size-cells"
# This is a generic file other binding inherit from and extend
additionalProperties: true additionalProperties: true
examples: examples:
......
...@@ -64,4 +64,5 @@ then: ...@@ -64,4 +64,5 @@ then:
$nodename: $nodename:
pattern: '^partition-.*$' pattern: '^partition-.*$'
# This is a generic file other binding inherit from and extend
additionalProperties: true additionalProperties: true
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment