dt-bindings: media: Fix graph 'unevaluatedProperties' related warnings
authorRob Herring <robh@kernel.org>
Mon, 19 Jul 2021 19:48:50 +0000 (13:48 -0600)
committerRob Herring <robh@kernel.org>
Tue, 27 Jul 2021 14:03:11 +0000 (08:03 -0600)
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 <eugen.hristev@microchip.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Ludovic Desroches <ludovic.desroches@microchip.com>
Cc: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Cc: Ramesh Shanmugasundaram <rashanmu@gmail.com>
Cc: linux-media@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210719194850.2410511-1-robh@kernel.org
Documentation/devicetree/bindings/media/atmel,isc.yaml
Documentation/devicetree/bindings/media/microchip,xisc.yaml
Documentation/devicetree/bindings/media/renesas,drif.yaml

index 3e4bb8892d941fbe4b87870b501cc950685bb6ff..cd6d7af0c7682840eb9c54338e577657a61e7935 100644 (file)
@@ -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.
 
index 41afe2e5f133d24c6c9aca2760f3f3f8d2450166..086e1430af4fa74fc1570e68bfdb7b5dd735bf52 100644 (file)
@@ -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.
 
index 817a6d566738c38d8e50e892db6586e04e9e7fbc..2867d11fe156a5b8ccc916df01846abcc18cc576 100644 (file)
@@ -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