Skip to content

Commit c61c130

Browse files
Omer Faruk Edemenpopcornmix
authored andcommitted
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 <ofedemen@lectrontech.com>
1 parent 3b92c06 commit c61c130

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
@@ -3737,6 +3737,10 @@ Params: rotation Mounting rotation of the camera sensor (0 or
37373737
clk-continuous Switch to continuous mode on the CSI clock lane,
37383738
which increases the maximum frame rate slightly.
37393739
Appears not to work on Pi3.
3740+
trigger-mode Enable external trigger mode (0 = normal,
3741+
1 = triggered). In this mode, the sensor outputs
3742+
a frame only when triggered by a rising edge
3743+
on the FSIN input pin.
37403744

37413745

37423746
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)