]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: media: adv7180: Add missing video-interfaces.yaml reference
authorRob Herring <robh@kernel.org>
Wed, 23 Jun 2021 16:42:56 +0000 (10:42 -0600)
committerRob Herring <robh@kernel.org>
Thu, 1 Jul 2021 14:06:57 +0000 (08:06 -0600)
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 <lars@metafoo.de>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-media@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210623164256.2569839-1-robh@kernel.org
Documentation/devicetree/bindings/media/i2c/adv7180.yaml

index bcfd93739b4f6168a9a31a8316fd5128bab73cb5..3ce4af143a3a38564bab85d9c816376bdad1459a 100644 (file)
@@ -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