Skip to content

Commit 61e00de

Browse files
6by9popcornmix
authored andcommitted
dtoverlays: Add Arducam override for ov9281
The Arducam module is slow starting up, so add an override to slow the regulator down. https://forums.raspberrypi.com/viewtopic.php?t=380236 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
1 parent ebcd59c commit 61e00de

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

arch/arm/boot/dts/overlays/README

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3570,6 +3570,8 @@ Params: rotation Mounting rotation of the camera sensor (0 or
35703570
configuring the sensor (default on)
35713571
cam0 Adopt the default configuration for CAM0 on a
35723572
Compute Module (CSI0, i2c_vc, and cam0_reg).
3573+
arducam Slow down the regulator for slow Arducam
3574+
modules.
35733575

35743576

35753577
Name: papirus

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@
6363
};
6464
};
6565

66+
reg_frag: fragment@6 {
67+
target = <&cam1_reg>;
68+
__dormant__ {
69+
startup-delay-us = <20000>;
70+
off-on-delay-us = <30000>;
71+
};
72+
};
73+
6674
__overrides__ {
6775
rotation = <&cam_node>,"rotation:0";
6876
orientation = <&cam_node>,"orientation:0";
@@ -71,7 +79,9 @@
7179
<&csi_frag>, "target:0=",<&csi0>,
7280
<&clk_frag>, "target:0=",<&cam0_clk>,
7381
<&cam_node>, "clocks:0=",<&cam0_clk>,
74-
<&cam_node>, "avdd-supply:0=",<&cam0_reg>;
82+
<&cam_node>, "avdd-supply:0=",<&cam0_reg>,
83+
<&reg_frag>, "target:0=",<&cam0_reg>;
84+
arducam = <0>, "+6";
7585
};
7686
};
7787

0 commit comments

Comments
 (0)