media: dt-bindings: Add missing (unevaluated|additional)Properties on child nodes
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
This commit is contained in:
parent
71667902e5
commit
9eba693c79
@ -75,6 +75,7 @@ properties:
|
|||||||
properties:
|
properties:
|
||||||
port@0:
|
port@0:
|
||||||
$ref: /schemas/graph.yaml#/$defs/port-base
|
$ref: /schemas/graph.yaml#/$defs/port-base
|
||||||
|
unevaluatedProperties: false
|
||||||
description:
|
description:
|
||||||
Input port node, single endpoint describing the input port.
|
Input port node, single endpoint describing the input port.
|
||||||
|
|
||||||
@ -103,6 +104,7 @@ properties:
|
|||||||
|
|
||||||
port@1:
|
port@1:
|
||||||
$ref: /schemas/graph.yaml#/$defs/port-base
|
$ref: /schemas/graph.yaml#/$defs/port-base
|
||||||
|
unevaluatedProperties: false
|
||||||
description:
|
description:
|
||||||
Output port node, single endpoint describing the output port.
|
Output port node, single endpoint describing the output port.
|
||||||
|
|
||||||
|
@ -68,6 +68,7 @@ properties:
|
|||||||
|
|
||||||
video-firmware:
|
video-firmware:
|
||||||
type: object
|
type: object
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
description: |
|
description: |
|
||||||
Firmware subnode is needed when the platform does not
|
Firmware subnode is needed when the platform does not
|
||||||
|
@ -95,6 +95,7 @@ properties:
|
|||||||
|
|
||||||
video-firmware:
|
video-firmware:
|
||||||
type: object
|
type: object
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
description: |
|
description: |
|
||||||
Firmware subnode is needed when the platform does not
|
Firmware subnode is needed when the platform does not
|
||||||
|
@ -86,6 +86,7 @@ properties:
|
|||||||
|
|
||||||
video-firmware:
|
video-firmware:
|
||||||
type: object
|
type: object
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
description: |
|
description: |
|
||||||
Firmware subnode is needed when the platform does not
|
Firmware subnode is needed when the platform does not
|
||||||
|
@ -86,6 +86,7 @@ properties:
|
|||||||
|
|
||||||
video-firmware:
|
video-firmware:
|
||||||
type: object
|
type: object
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
description: |
|
description: |
|
||||||
Firmware subnode is needed when the platform does not
|
Firmware subnode is needed when the platform does not
|
||||||
|
@ -104,6 +104,7 @@ properties:
|
|||||||
|
|
||||||
video-firmware:
|
video-firmware:
|
||||||
type: object
|
type: object
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
description: |
|
description: |
|
||||||
Firmware subnode is needed when the platform does not
|
Firmware subnode is needed when the platform does not
|
||||||
|
@ -81,6 +81,7 @@ properties:
|
|||||||
|
|
||||||
video-firmware:
|
video-firmware:
|
||||||
type: object
|
type: object
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
description: |
|
description: |
|
||||||
Firmware subnode is needed when the platform does not
|
Firmware subnode is needed when the platform does not
|
||||||
|
@ -96,6 +96,7 @@ properties:
|
|||||||
|
|
||||||
video-firmware:
|
video-firmware:
|
||||||
type: object
|
type: object
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
description: |
|
description: |
|
||||||
Firmware subnode is needed when the platform does not
|
Firmware subnode is needed when the platform does not
|
||||||
|
@ -92,6 +92,7 @@ properties:
|
|||||||
|
|
||||||
video-firmware:
|
video-firmware:
|
||||||
type: object
|
type: object
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
description: |
|
description: |
|
||||||
Firmware subnode is needed when the platform does not
|
Firmware subnode is needed when the platform does not
|
||||||
|
Loading…
Reference in New Issue
Block a user