Skip to content

Commit

Permalink
dtoverlays: Add Arducam override for ov9281
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
6by9 committed Dec 5, 2024
1 parent 0a5be0f commit 02dee26
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -3538,6 +3538,8 @@ Params: rotation Mounting rotation of the camera sensor (0 or
configuring the sensor (default on)
cam0 Adopt the default configuration for CAM0 on a
Compute Module (CSI0, i2c_vc, and cam0_reg).
arducam Slow down the regulator for slow Arducam
modules.


Name: papirus
Expand Down
13 changes: 12 additions & 1 deletion arch/arm/boot/dts/overlays/ov9281-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@
};
};

reg_frag: fragment@5 {
target = <&cam1_reg>;
__dormant__ {
startup-delay-us = <20000>;
off-on-delay-us = <30000>;
};
};

__overrides__ {
rotation = <&cam_node>,"rotation:0";
orientation = <&cam_node>,"orientation:0";
Expand All @@ -65,7 +73,10 @@
<&csi_frag>, "target:0=",<&csi0>,
<&clk_frag>, "target:0=",<&cam0_clk>,
<&cam_node>, "clocks:0=",<&cam0_clk>,
<&cam_node>, "avdd-supply:0=",<&cam0_reg>;
<&cam_node>, "avdd-supply:0=",<&cam0_reg>,
<&reg_frag>, "target:0=",<&cam0_reg>;
arducam = <0>, "+5";

};
};

Expand Down

0 comments on commit 02dee26

Please sign in to comment.