Commit 387bb6fd authored by Rob Herring's avatar Rob Herring Committed by Krzysztof Kozlowski
Browse files

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: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarRoger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20230925212626.1974676-1-robh@kernel.org


Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
parent c1f2c816
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ patternProperties:
  ".*@[0-9]+$":
    type: object
    $ref: mc-peripheral-props.yaml#
    additionalProperties: true

required:
  - compatible
+2 −0
Original line number Diff line number Diff line
@@ -80,6 +80,8 @@ properties:
patternProperties:
  "flash@[0-9a-f]+$":
    type: object
    additionalProperties: true

    properties:
      compatible:
        contains:
+1 −1
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ patternProperties:
      bus. The device can be a NAND chip, SRAM device, NOR device
      or an ASIC.
    $ref: ti,gpmc-child.yaml

    additionalProperties: true

required:
  - compatible