From 4198a8abcf896ea19efd322be25a4621c1b2085c Mon Sep 17 00:00:00 2001
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
Date: Tue, 29 Apr 2025 15:40:58 +0100
Subject: [PATCH] dtoverlays: Add sync configuration option to imx296 overlay

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
---
 arch/arm/boot/dts/overlays/README             | 1 +
 arch/arm/boot/dts/overlays/imx296-overlay.dts | 1 +
 2 files changed, 2 insertions(+)

--- a/arch/arm/boot/dts/overlays/README
+++ b/arch/arm/boot/dts/overlays/README
@@ -2816,6 +2816,7 @@ Params: rotation                Mounting
                                 (the default), 37125000 or 74250000.
         always-on               Leave the regulator powered up, to stop the
                                 camera clamping I/Os such as XTRIG to 0V.
+        sync-sink               Configure as synchronisation sink.
 
 
 Name:   imx327
--- a/arch/arm/boot/dts/overlays/imx296-overlay.dts
+++ b/arch/arm/boot/dts/overlays/imx296-overlay.dts
@@ -116,5 +116,6 @@
 		       <&imx296>, "avdd-supply:0=",<&cam0_reg>;
 		clock-frequency = <&clk_over>, "clock-frequency:0";
 		always-on = <0>, "+99";
+		sync-sink = <&imx296>,"trigger-mode:0";
 	};
 };
