media: dt-bindings: Add missing (unevaluated|additional)Properties on child nodes
authorRob Herring <robh@kernel.org>
Tue, 23 Aug 2022 14:56:34 +0000 (09:56 -0500)
committerRob Herring <robh@kernel.org>
Mon, 29 Aug 2022 19:58:17 +0000 (14:58 -0500)
In order to ensure only documented properties are present, node schemas
must have unevaluatedProperties or additionalProperties set to false
(typically).

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220823145649.3118479-3-robh@kernel.org
Documentation/devicetree/bindings/media/microchip,csi2dc.yaml
Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml
Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml
Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml
Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml
Documentation/devicetree/bindings/media/qcom,sdm660-venus.yaml
Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml
Documentation/devicetree/bindings/media/qcom,sdm845-venus.yaml
Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml

index e8544fb2d0345275f808d8d57e27c3eb6aa715ca..b3a345fc646432724f98c7a1edd3cc30429a98fd 100644 (file)
@@ -75,6 +75,7 @@ properties:
     properties:
       port@0:
         $ref: /schemas/graph.yaml#/$defs/port-base
+        unevaluatedProperties: false
         description:
           Input port node, single endpoint describing the input port.
 
@@ -103,6 +104,7 @@ properties:
 
       port@1:
         $ref: /schemas/graph.yaml#/$defs/port-base
+        unevaluatedProperties: false
         description:
           Output port node, single endpoint describing the output port.
 
index 59ab16ad12f1fff0005ef7d509bfdb5743a6139d..2abb7d21c0d1d49814eaba46feafa14c72d07e52 100644 (file)
@@ -68,6 +68,7 @@ properties:
 
   video-firmware:
     type: object
+    additionalProperties: false
 
     description: |
       Firmware subnode is needed when the platform does not
index 199f45217b4a0df78b69df49836cf8fce13a1238..29d0cb6c6ebe0423db86a9fbef74f61b4b22d756 100644 (file)
@@ -95,6 +95,7 @@ properties:
 
   video-firmware:
     type: object
+    additionalProperties: false
 
     description: |
       Firmware subnode is needed when the platform does not
index 90b4af2c972491c4c6b581c43109d0d9b2d9f469..42ee3f06c6bec844aa414e3e8a821e3e8377563c 100644 (file)
@@ -86,6 +86,7 @@ properties:
 
   video-firmware:
     type: object
+    additionalProperties: false
 
     description: |
       Firmware subnode is needed when the platform does not
index e2874683b4d5faf395046b4bc8abfb056a47d0b9..cf361dd9de08614b885a27347682749b27972e86 100644 (file)
@@ -86,6 +86,7 @@ properties:
 
   video-firmware:
     type: object
+    additionalProperties: false
 
     description: |
       Firmware subnode is needed when the platform does not
index 33da7d3cfd3838ae96dc0b6638c6649b70b9f121..45e3f58f52bde49108d0c468561714b29b33cb44 100644 (file)
@@ -104,6 +104,7 @@ properties:
 
   video-firmware:
     type: object
+    additionalProperties: false
 
     description: |
       Firmware subnode is needed when the platform does not
index 177bf81544b1aa8a244bdca035d1f3020ee15174..8edc8a2f43a5cb01524efba0ceffe60ca7a60cda 100644 (file)
@@ -81,6 +81,7 @@ properties:
 
   video-firmware:
     type: object
+    additionalProperties: false
 
     description: |
       Firmware subnode is needed when the platform does not
index 680f37726fdf9e708843ab51f89f3d8b981ad9a7..57d503373efe8cc0f8fd18466c6695664d649fad 100644 (file)
@@ -96,6 +96,7 @@ properties:
 
   video-firmware:
     type: object
+    additionalProperties: false
 
     description: |
       Firmware subnode is needed when the platform does not
index ebf8f3d866a591381068d6262c312eb2056199e3..4b7a12523dcff521a1a0d17b890dc4f3aca8cb3a 100644 (file)
@@ -92,6 +92,7 @@ properties:
 
   video-firmware:
     type: object
+    additionalProperties: false
 
     description: |
       Firmware subnode is needed when the platform does not