media: dt-bindings: Add missing (unevaluated|additional)Properties on child nodes
Commit Message
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>
---
Documentation/devicetree/bindings/media/microchip,csi2dc.yaml | 2 ++
Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml | 1 +
Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml | 1 +
Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml | 1 +
Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml | 1 +
Documentation/devicetree/bindings/media/qcom,sdm660-venus.yaml | 1 +
.../devicetree/bindings/media/qcom,sdm845-venus-v2.yaml | 1 +
Documentation/devicetree/bindings/media/qcom,sdm845-venus.yaml | 1 +
Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml | 1 +
9 files changed, 10 insertions(+)
Comments
On 23/08/2022 17:56, Rob Herring wrote:
> 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>
Best regards,
Krzysztof
On Tue, 23 Aug 2022 09:56:34 -0500, Rob Herring wrote:
> 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>
> ---
> Documentation/devicetree/bindings/media/microchip,csi2dc.yaml | 2 ++
> Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml | 1 +
> Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml | 1 +
> Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml | 1 +
> Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml | 1 +
> Documentation/devicetree/bindings/media/qcom,sdm660-venus.yaml | 1 +
> .../devicetree/bindings/media/qcom,sdm845-venus-v2.yaml | 1 +
> Documentation/devicetree/bindings/media/qcom,sdm845-venus.yaml | 1 +
> Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml | 1 +
> 9 files changed, 10 insertions(+)
>
Applied, thanks!
@@ -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.
@@ -68,6 +68,7 @@ properties:
video-firmware:
type: object
+ additionalProperties: false
description: |
Firmware subnode is needed when the platform does not
@@ -95,6 +95,7 @@ properties:
video-firmware:
type: object
+ additionalProperties: false
description: |
Firmware subnode is needed when the platform does not
@@ -86,6 +86,7 @@ properties:
video-firmware:
type: object
+ additionalProperties: false
description: |
Firmware subnode is needed when the platform does not
@@ -86,6 +86,7 @@ properties:
video-firmware:
type: object
+ additionalProperties: false
description: |
Firmware subnode is needed when the platform does not
@@ -104,6 +104,7 @@ properties:
video-firmware:
type: object
+ additionalProperties: false
description: |
Firmware subnode is needed when the platform does not
@@ -81,6 +81,7 @@ properties:
video-firmware:
type: object
+ additionalProperties: false
description: |
Firmware subnode is needed when the platform does not
@@ -96,6 +96,7 @@ properties:
video-firmware:
type: object
+ additionalProperties: false
description: |
Firmware subnode is needed when the platform does not
@@ -92,6 +92,7 @@ properties:
video-firmware:
type: object
+ additionalProperties: false
description: |
Firmware subnode is needed when the platform does not