devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: adv7180: Introduce adv,adv7182-force-bt656-4
@ 2021-05-27 17:32 Fabio Estevam
  2021-05-27 17:32 ` [PATCH 2/2] media: i2c: adv7180: fix adv7280 BT.656-4 compatibility Fabio Estevam
  2021-06-04 20:54 ` [PATCH 1/2] dt-bindings: adv7180: Introduce adv,adv7182-force-bt656-4 Rob Herring
  0 siblings, 2 replies; 4+ messages in thread
From: Fabio Estevam @ 2021-05-27 17:32 UTC (permalink / raw)
  To: hverkuil-cisco
  Cc: lars, matthew.michilot, tharvey, linux-media, slongerbeam,
	niklas.soderlund, robh+dt, devicetree, Fabio Estevam

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,adv7182-force-bt656-4' property to allow the ADV7280
behavior to be consistent with the ADV7180, where BT.656-4 timing
is used.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 Documentation/devicetree/bindings/media/i2c/adv7180.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/media/i2c/adv7180.yaml b/Documentation/devicetree/bindings/media/i2c/adv7180.yaml
index bcfd93739b4f..83e47b0c9fa2 100644
--- a/Documentation/devicetree/bindings/media/i2c/adv7180.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/adv7180.yaml
@@ -35,6 +35,11 @@ properties:
   powerdown-gpios:
     maxItems: 1
 
+  adv,adv7182-force-bt656-4:
+    description:
+      Indicates that ADV7182 should output a BT.656-4 compatible stream.
+    type: boolean
+
   port:
     $ref: /schemas/graph.yaml#/properties/port
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-04 21:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-27 17:32 [PATCH 1/2] dt-bindings: adv7180: Introduce adv,adv7182-force-bt656-4 Fabio Estevam
2021-05-27 17:32 ` [PATCH 2/2] media: i2c: adv7180: fix adv7280 BT.656-4 compatibility Fabio Estevam
2021-06-04 20:54 ` [PATCH 1/2] dt-bindings: adv7180: Introduce adv,adv7182-force-bt656-4 Rob Herring
2021-06-04 21:08   ` Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).