These patches were generated from: https://github.com/raspberrypi/linux/commits/rpi-6.12.y With the following command: git format-patch -N v6.12.27..HEAD (HEAD -> 8d3206ee456a5ecdf9ddbfd8e5e231e4f0cd716e) Exceptions: - (def)configs patches - github workflows patches - applied & reverted patches - readme patches - wireless patches Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
54 lines
1.8 KiB
Diff
54 lines
1.8 KiB
Diff
From d182c5f9011a9f6825df3cfcb44c70020338363d Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
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 <dave.stevenson@raspberrypi.com>
|
|
---
|
|
arch/arm/boot/dts/overlays/README | 2 ++
|
|
arch/arm/boot/dts/overlays/ov9281-overlay.dts | 12 +++++++++++-
|
|
2 files changed, 13 insertions(+), 1 deletion(-)
|
|
|
|
--- a/arch/arm/boot/dts/overlays/README
|
|
+++ b/arch/arm/boot/dts/overlays/README
|
|
@@ -3570,6 +3570,8 @@ Params: rotation Mounting
|
|
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
|
|
--- a/arch/arm/boot/dts/overlays/ov9281-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/ov9281-overlay.dts
|
|
@@ -63,6 +63,14 @@
|
|
};
|
|
};
|
|
|
|
+ reg_frag: fragment@6 {
|
|
+ target = <&cam1_reg>;
|
|
+ __dormant__ {
|
|
+ startup-delay-us = <20000>;
|
|
+ off-on-delay-us = <30000>;
|
|
+ };
|
|
+ };
|
|
+
|
|
__overrides__ {
|
|
rotation = <&cam_node>,"rotation:0";
|
|
orientation = <&cam_node>,"orientation:0";
|
|
@@ -71,7 +79,9 @@
|
|
<&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>, "+6";
|
|
};
|
|
};
|
|
|