Skip to contentSkip to conversation

dt-bindings: media: Fix graph 'unevaluatedProperties' related warnings

PATCH Applied Rob Herring 1 participant 2 messages Jul 19, 2021 – Jul 23, 2021

Subsystems (5)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: media: Fix graph 'unevaluatedProperties' related warnings

The graph schema doesn't allow custom properties on endpoint nodes for '#/properties/port' and '#/$defs/port-base' should be used instead. This doesn't matter until 'unevaluatedProperties' support is implemented.

Cc Eugen Hristev <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Nicolas Ferre <[email protected]>
Cc Alexandre Belloni <[email protected]>
Cc Ludovic Desroches <[email protected]>
Cc Fabrizio Castro <[email protected]>
Cc Ramesh Shanmugasundaram <[email protected]>
---
 Documentation/devicetree/bindings/media/atmel,isc.yaml      | 3 ++-
 Documentation/devicetree/bindings/media/microchip,xisc.yaml | 2 +-
 Documentation/devicetree/bindings/media/renesas,drif.yaml   | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/media/atmel,isc.yaml +2 -1
index 3e4bb8892d94..cd6d7af0c768 100644
@@ -44,7 +44,8 @@ properties:
     const: isc-mck
 
   port:
-    $ref: /schemas/graph.yaml#/properties/port
+    $ref: /schemas/graph.yaml#/$defs/port-base
+    unevaluatedProperties: false
     description:
       Input port node, single endpoint describing the input pad.
 
Documentation/devicetree/bindings/media/microchip,xisc.yaml +1 -1
index 41afe2e5f133..086e1430af4f 100644
@@ -52,7 +52,7 @@ properties:
       of the data and clock lines.
 
   port:
-    $ref: /schemas/graph.yaml#/properties/port
+    $ref: /schemas/graph.yaml#/$defs/port-base
     description:
       Input port node, single endpoint describing the input pad.
 
Documentation/devicetree/bindings/media/renesas,drif.yaml +1 -1
index 817a6d566738..2867d11fe156 100644
@@ -96,7 +96,7 @@ properties:
       Indicates that the channel acts as primary among the bonded channels.
 
   port:
-    $ref: /schemas/graph.yaml#/properties/port
+    $ref: /schemas/graph.yaml#/$defs/port-base
     unevaluatedProperties: false
     description:
       Child port node corresponding to the data input. The port node must
Signature · 1 line
2.27.0
author maintainer Applied
#1 lore raw
Quoted 13 lines · Rob Herring

The graph schema doesn't allow custom properties on endpoint nodes for '#/properties/port' and '#/$defs/port-base' should be used instead. This doesn't matter until 'unevaluatedProperties' support is implemented.

Cc Eugen Hristev <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Nicolas Ferre <[email protected]>
Cc Alexandre Belloni <[email protected]>
Cc Ludovic Desroches <[email protected]>
Cc Fabrizio Castro <[email protected]>
Cc Ramesh Shanmugasundaram <[email protected]>
Quoted 6 lines
---
 Documentation/devicetree/bindings/media/atmel,isc.yaml      | 3 ++-
 Documentation/devicetree/bindings/media/microchip,xisc.yaml | 2 +-
 Documentation/devicetree/bindings/media/renesas,drif.yaml   | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

Applied, thanks!