Skip to content

Commit 9ecf861

Browse files
author
Omer Faruk Edemen
committed
arm: dts: overlays: Add external trigger mode support
Adds DT property `trigger-mode` to enable FSIN-triggered frame capture. Includes overlay and README update for ov9281_trig. Signed-off-by: Omer Faruk Edemen <[email protected]>
1 parent dded039 commit 9ecf861

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

arch/arm/boot/dts/overlays/README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3718,6 +3718,10 @@ Params: rotation Mounting rotation of the camera sensor (0 or
37183718
clk-continuous Switch to continuous mode on the CSI clock lane,
37193719
which increases the maximum frame rate slightly.
37203720
Appears not to work on Pi3.
3721+
trigger-mode Enable external trigger mode (0 = normal,
3722+
1 = triggered). In this mode, the sensor outputs
3723+
a frame only when triggered by a rising edge
3724+
on the FSIN input pin.
37213725

37223726

37233727
Name: papirus

arch/arm/boot/dts/overlays/ov9281-overlay.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
<&reg_frag>, "target:0=",<&cam0_reg>;
9797
arducam = <0>, "+6";
9898
clk-continuous = <0>, "-7-8";
99+
trigger-mode = <&cam_node>, "trigger-mode:0";
99100
};
100101
};
101102

arch/arm/boot/dts/overlays/ov9281.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ cam_node: ov9281@60 {
1414

1515
rotation = <0>;
1616
orientation = <2>;
17+
trigger-mode = <0>;
1718

1819
port {
1920
cam_endpoint: endpoint {

0 commit comments

Comments
 (0)