Skip to content

Commit 55442e6

Browse files
committed
dt-bindings: media: Fix more 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: Dave Stevenson <[email protected]> Cc: Jacopo Mondi <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: "Paul J. Murphy" <[email protected]> Cc: Daniele Alessandrelli <[email protected]> Cc: [email protected] Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Daniele Alessandrelli <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 55c21d5 commit 55442e6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Documentation/devicetree/bindings/media/i2c/ovti,ov5647.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ properties:
3131
maxItems: 1
3232

3333
port:
34-
$ref: /schemas/graph.yaml#/properties/port
34+
$ref: /schemas/graph.yaml#/$defs/port-base
3535
additionalProperties: false
3636

3737
properties:

Documentation/devicetree/bindings/media/i2c/ovti,ov9282.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ properties:
3838

3939
port:
4040
additionalProperties: false
41-
$ref: /schemas/graph.yaml#/properties/port
41+
$ref: /schemas/graph.yaml#/$defs/port-base
4242

4343
properties:
4444
endpoint:

Documentation/devicetree/bindings/media/i2c/sony,imx335.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ properties:
3838

3939
port:
4040
additionalProperties: false
41-
$ref: /schemas/graph.yaml#/properties/port
41+
$ref: /schemas/graph.yaml#/$defs/port-base
4242

4343
properties:
4444
endpoint:

Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ properties:
3838

3939
port:
4040
additionalProperties: false
41-
$ref: /schemas/graph.yaml#/properties/port
41+
$ref: /schemas/graph.yaml#/$defs/port-base
4242

4343
properties:
4444
endpoint:

0 commit comments

Comments
 (0)