Skip to contentSkip to conversation

dt-bindings: media: adv7180: Add missing video-interfaces.yaml reference

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

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: media: adv7180: Add missing video-interfaces.yaml reference

The adv7180 binding is using 'bus-width' property, but doesn't document it. Add a reference to the video-interfaces.yaml schema to properly document it.

Fixes 066a94e28a23 ("media: dt-bindings: media: Use graph and video-interfaces schemas")
Cc Lars-Peter Clausen <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
---
 Documentation/devicetree/bindings/media/i2c/adv7180.yaml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/media/i2c/adv7180.yaml +7 -1
index bcfd93739b4f..3ce4af143a3a 100644
@@ -36,7 +36,13 @@ properties:
     maxItems: 1
 
   port:
-    $ref: /schemas/graph.yaml#/properties/port
+    $ref: /schemas/graph.yaml#/$defs/port-base
+    unevaluatedProperties: false
+
+    properties:
+      endpoint:
+        $ref: /schemas/media/video-interfaces.yaml#
+        unevaluatedProperties: false
 
   ports: true
 
Signature · 1 line
2.27.0
author maintainer Applied
#1 lore raw
Quoted 12 lines · Rob Herring

The adv7180 binding is using 'bus-width' property, but doesn't document it. Add a reference to the video-interfaces.yaml schema to properly document it.

Fixes 066a94e28a23 ("media: dt-bindings: media: Use graph and video-interfaces schemas")
Cc Lars-Peter Clausen <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
---
 Documentation/devicetree/bindings/media/i2c/adv7180.yaml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Applied, thanks!