media: dt-bindings: adv7180: Introduce 'adv,force-bt656-4' property
authorFabio Estevam <festevam@gmail.com>
Fri, 4 Jun 2021 21:22:16 +0000 (23:22 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 22 Jul 2021 09:40:46 +0000 (11:40 +0200)
Captured NTSC video would be out of sync when using the adv7280 with
the BT.656-4 protocol. Certain registers (0x04, 0x31, 0xE6) need to
be configured properly to ensure BT.656-4 compatibility.

Introduce the 'adv,force-bt656-4' property to allow the ADV7280
behavior to be consistent with the ADV7180, where BT.656-4 timing
is used by default.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/devicetree/bindings/media/i2c/adv7180.yaml

index 7b233212d0e6e69b5a50d7206c458a422203e620..c8d887eee3bbed606217deaf24430e952c7bb2c0 100644 (file)
@@ -38,6 +38,11 @@ properties:
   reset-gpios:
     maxItems: 1
 
+  adv,force-bt656-4:
+    description:
+      Indicates that the output is a BT.656-4 compatible stream.
+    type: boolean
+
   port:
     $ref: /schemas/graph.yaml#/$defs/port-base
     unevaluatedProperties: false