bcm27xx: update 6.1 patches to latest version
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-6.1 / 950-1149-overlays-ov5647-cam0-mode-should-use-cam0_reg.patch
1 From d484bef133af9c87d64899fc1e1d0be2a7c7785b Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Mon, 20 Nov 2023 10:16:10 +0000
4 Subject: [PATCH] overlays: ov5647: cam0 mode should use cam0_reg
5
6 When the cam0 parameter is used, the vcm should be updated to refer to
7 the cam0 regulator.
8
9 See: https://github.com/raspberrypi/linux/issues/5722
10
11 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
12 ---
13 arch/arm/boot/dts/overlays/ov5647-overlay.dts | 3 ++-
14 1 file changed, 2 insertions(+), 1 deletion(-)
15
16 --- a/arch/arm/boot/dts/overlays/ov5647-overlay.dts
17 +++ b/arch/arm/boot/dts/overlays/ov5647-overlay.dts
18 @@ -77,7 +77,8 @@
19 <&reg_frag>, "target:0=",<&cam0_reg>,
20 <&clk_frag>, "target:0=",<&cam0_clk>,
21 <&cam_node>, "clocks:0=",<&cam0_clk>,
22 - <&cam_node>, "avdd-supply:0=",<&cam0_reg>;
23 + <&cam_node>, "avdd-supply:0=",<&cam0_reg>,
24 + <&vcm_node>, "VANA-supply:0=",<&cam0_reg>;
25 vcm = <&vcm_node>, "status=okay",
26 <&cam_node>,"lens-focus:0=", <&vcm_node>;
27 };