Skip to content

Commit 387bb6f

Browse files
robherringkrzk
authored andcommitted
dt-bindings: memory-controllers: Make "additionalProperties: true" explicit
Make it explicit that child nodes have additional properties and the child node schema is not complete. The complete schemas are applied separately based the compatible strings. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Roger Quadros <rogerq@kernel.org> Link: https://lore.kernel.org/r/20230925212626.1974676-1-robh@kernel.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent c1f2c81 commit 387bb6f

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ patternProperties:
4040
".*@[0-9]+$":
4141
type: object
4242
$ref: mc-peripheral-props.yaml#
43+
additionalProperties: true
4344

4445
required:
4546
- compatible

Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ properties:
8080
patternProperties:
8181
"flash@[0-9a-f]+$":
8282
type: object
83+
additionalProperties: true
84+
8385
properties:
8486
compatible:
8587
contains:

Documentation/devicetree/bindings/memory-controllers/ti,gpmc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ patternProperties:
130130
bus. The device can be a NAND chip, SRAM device, NOR device
131131
or an ASIC.
132132
$ref: ti,gpmc-child.yaml
133-
133+
additionalProperties: true
134134

135135
required:
136136
- compatible

0 commit comments

Comments
 (0)