From 665c1f5a5d8fe7447461917dd5775d3284f82fbe Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Mon, 2 Dec 2024 15:41:21 +0000 Subject: [PATCH] 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 --- arch/arm/boot/dts/overlays/ov9281-overlay.dts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/overlays/ov9281-overlay.dts b/arch/arm/boot/dts/overlays/ov9281-overlay.dts index ec95b7a8b2f1fb..155294e233f0e4 100644 --- a/arch/arm/boot/dts/overlays/ov9281-overlay.dts +++ b/arch/arm/boot/dts/overlays/ov9281-overlay.dts @@ -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"; @@ -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>, + <®_frag>, "target:0=",<&cam0_reg>; + arducam = <0>, "+5"; + }; };