spi: dt-bindings: Make "additionalProperties: true" explicit
authorRob Herring <robh@kernel.org>
Mon, 25 Sep 2023 21:26:00 +0000 (16:26 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 26 Sep 2023 07:50:01 +0000 (09:50 +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>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20230925212614.1974243-1-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml
Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml
Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml
Documentation/devicetree/bindings/spi/rockchip-sfc.yaml
Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml

index a6f34bdd1d3c383695d0d527fcd3bcea5e3b4028..e1ab3f523ad6cb6f6477e68c9c30088675f9fad0 100644 (file)
@@ -46,6 +46,8 @@ properties:
 patternProperties:
   "^.*@[0-9a-f]+":
     type: object
+    additionalProperties: true
+
     properties:
       reg:
         items:
index 28b8ace63044b1724eaefa5646d7caffe145cda1..3b47b68b92cb8ac9759b28a7a664da3d32e42982 100644 (file)
@@ -68,6 +68,8 @@ properties:
 patternProperties:
   "^.*@[0-9a-f]+":
     type: object
+    additionalProperties: true
+
     properties:
       reg:
         items:
index 9ae1611175f2278ef2639f4a5ccb0649f8b39859..48e97e2402656699407430ce82a595e43ca1a097 100644 (file)
@@ -50,6 +50,7 @@ properties:
 patternProperties:
   "@[0-9a-f]+$":
     type: object
+    additionalProperties: true
 
     properties:
       spi-rx-bus-width:
index 339fb39529f33cd424095df22fbd42f3cb41b4f8..ac1503de0478d822dc0ecc2595a5580ba736f613 100644 (file)
@@ -47,6 +47,8 @@ properties:
 patternProperties:
   "^flash@[0-3]$":
     type: object
+    additionalProperties: true
+
     properties:
       reg:
         minimum: 0
index a47cb144b09f2c2245269a18ccc47fe648f89cac..6348a387a21c317dcadb40d2739344569d08bdc1 100644 (file)
@@ -160,6 +160,8 @@ properties:
 patternProperties:
   "^.*@[0-9a-f]+$":
     type: object
+    additionalProperties: true
+
     properties:
       reg:
         minimum: 0