Commit ba007062 authored by Rob Herring's avatar Rob Herring

dt-bindings: display: 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: default avatarRob Herring <robh@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> # msm
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220823145649.3118479-11-robh@kernel.org
parent b737da13
...@@ -58,6 +58,7 @@ properties: ...@@ -58,6 +58,7 @@ properties:
patternProperties: patternProperties:
'^pipeline@[01]$': '^pipeline@[01]$':
type: object type: object
additionalProperties: false
description: description:
clocks clocks
......
...@@ -51,6 +51,7 @@ properties: ...@@ -51,6 +51,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: |
For LVDS encoders, port 0 is the parallel input For LVDS encoders, port 0 is the parallel input
For LVDS decoders, port 0 is the LVDS input For LVDS decoders, port 0 is the LVDS input
......
...@@ -81,6 +81,7 @@ properties: ...@@ -81,6 +81,7 @@ properties:
zap-shader: zap-shader:
type: object type: object
additionalProperties: false
description: | description: |
For a5xx and a6xx devices this node contains a memory-region that For a5xx and a6xx devices this node contains a memory-region that
points to reserved memory to store the zap shader that can be used to points to reserved memory to store the zap shader that can be used to
......
...@@ -37,6 +37,7 @@ properties: ...@@ -37,6 +37,7 @@ properties:
i80-if-timings: i80-if-timings:
type: object type: object
additionalProperties: false
description: timing configuration for lcd i80 interface support description: timing configuration for lcd i80 interface support
properties: properties:
cs-setup: cs-setup:
......
...@@ -40,6 +40,7 @@ properties: ...@@ -40,6 +40,7 @@ properties:
i80-if-timings: i80-if-timings:
type: object type: object
additionalProperties: false
description: | description: |
Timing configuration for lcd i80 interface support. Timing configuration for lcd i80 interface support.
The parameters are defined as:: The parameters are defined as::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment