Skip to content

Commit 121c2c3

Browse files
6by9pelwell
authored andcommitted
dtoverlays: ov9281: Add continuous clock option as an override
The previous change to make ov9281 always run in continuous clock mode causes problems on Pi3 for reasons that aren't fully understood. Pi4 is quite happy with it. Change the default back to being non-continuous clock, and add an override to select continuous clock mode and its slightly greater max frame rate. https://forums.raspberrypi.com/viewtopic.php?p=2300215 Signed-off-by: Dave Stevenson <[email protected]>
1 parent ebda174 commit 121c2c3

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

arch/arm/boot/dts/overlays/README

+3
Original file line numberDiff line numberDiff line change
@@ -3622,6 +3622,9 @@ Params: rotation Mounting rotation of the camera sensor (0 or
36223622
Compute Module (CSI0, i2c_vc, and cam0_reg).
36233623
arducam Slow down the regulator for slow Arducam
36243624
modules.
3625+
clk-continuous Switch to continuous mode on the CSI clock lane,
3626+
which increases the maximum frame rate slightly.
3627+
Appears not to work on Pi3.
36253628

36263629

36273630
Name: papirus

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

+15
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,20 @@
7070
};
7171
};
7272

73+
fragment@7 {
74+
target = <&csi_ep>;
75+
__overlay__ {
76+
clock-noncontinuous;
77+
};
78+
};
79+
80+
fragment@8 {
81+
target = <&cam_endpoint>;
82+
__overlay__ {
83+
clock-noncontinuous;
84+
};
85+
};
86+
7387
__overrides__ {
7488
rotation = <&cam_node>,"rotation:0";
7589
orientation = <&cam_node>,"orientation:0";
@@ -81,6 +95,7 @@
8195
<&cam_node>, "avdd-supply:0=",<&cam0_reg>,
8296
<&reg_frag>, "target:0=",<&cam0_reg>;
8397
arducam = <0>, "+6";
98+
clk-continuous = <0>, "-7-8";
8499
};
85100
};
86101

0 commit comments

Comments
 (0)