dt-bindings: memory-controllers: Make "additionalProperties: true" explicit
authorRob Herring <robh@kernel.org>
Mon, 25 Sep 2023 21:26:21 +0000 (16:26 -0500)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 28 Sep 2023 05:53:46 +0000 (07:53 +0200)
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>
Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml
Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml
Documentation/devicetree/bindings/memory-controllers/ti,gpmc.yaml

index b40cec0eb6516aff291fb6f21998a41d39004278..ee74a362f4ca28a5d72992eef9a395ab0e6b5624 100644 (file)
@@ -40,6 +40,7 @@ patternProperties:
   ".*@[0-9]+$":
     type: object
     $ref: mc-peripheral-props.yaml#
+    additionalProperties: true
 
 required:
   - compatible
index 56e62cd0b36abd7a89b1ad3a57c9e4f41a92f445..25f3bb9890ae624a71bf65a06f2fe639ac89853c 100644 (file)
@@ -80,6 +80,8 @@ properties:
 patternProperties:
   "flash@[0-9a-f]+$":
     type: object
+    additionalProperties: true
+
     properties:
       compatible:
         contains:
index b049837ee66949a17a8d2c6c66fab88019f13fd7..c7a8a041da507755485676a26fa5b30bb3888356 100644 (file)
@@ -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