linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: display: msm: Add missing unevaluatedProperties on child node schemas
@ 2023-09-25 21:24 Rob Herring
  2023-09-25 21:24 ` [PATCH 2/2] dt-bindings: display: msm: Make "additionalProperties: true" explicit Rob Herring
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Rob Herring @ 2023-09-25 21:24 UTC (permalink / raw)
  To: Rob Clark, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
	Marijn Suijten, David Airlie, Daniel Vetter, Krzysztof Kozlowski,
	Conor Dooley, Kuogee Hsieh
  Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel

Just as unevaluatedProperties or additionalProperties are required at
the top level of schemas, they should (and will) also be required for
child node schemas. That ensures only documented properties are
present for any node.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/display/msm/dp-controller.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
index f12558960cd8..dbe398f84ffb 100644
--- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
+++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
@@ -114,6 +114,7 @@ properties:
 
       port@1:
         $ref: /schemas/graph.yaml#/$defs/port-base
+        unevaluatedProperties: false
         description: Output endpoint of the controller
         properties:
           endpoint:
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-10-08 14:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-25 21:24 [PATCH 1/2] dt-bindings: display: msm: Add missing unevaluatedProperties on child node schemas Rob Herring
2023-09-25 21:24 ` [PATCH 2/2] dt-bindings: display: msm: Make "additionalProperties: true" explicit Rob Herring
2023-09-26 12:58   ` Conor Dooley
2023-09-26 12:56 ` [PATCH 1/2] dt-bindings: display: msm: Add missing unevaluatedProperties on child node schemas Conor Dooley
2023-10-08 14:01 ` Dmitry Baryshkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).