kernel: bump 5.4 to 5.4.106
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0992-dtoverlays-Correct-CSI2-settings-for-ov9281.patch
1 From ac315f66be96c5a423382efb559f193e5b786226 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Wed, 21 Oct 2020 18:33:02 +0100
4 Subject: [PATCH] dtoverlays: Correct CSI2 settings for ov9281
5
6 OV9281 appears to drop the clock to LP mode between frames, but
7 the overlay didn't define this at both ends of the CSI2 link.
8 The overlay also had an incorrect link frequency defined, not that
9 the driver ever checked for one.
10
11 Fix both issues.
12
13 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
14 ---
15 arch/arm/boot/dts/overlays/ov9281-overlay.dts | 3 ++-
16 1 file changed, 2 insertions(+), 1 deletion(-)
17
18 --- a/arch/arm/boot/dts/overlays/ov9281-overlay.dts
19 +++ b/arch/arm/boot/dts/overlays/ov9281-overlay.dts
20 @@ -34,7 +34,7 @@
21 data-lanes = <1 2>;
22 clock-noncontinuous;
23 link-frequencies =
24 - /bits/ 64 <456000000>;
25 + /bits/ 64 <400000000>;
26 };
27 };
28 };
29 @@ -50,6 +50,7 @@
30 csi1_ep: endpoint {
31 remote-endpoint = <&ov9281_0>;
32 data-lanes = <1 2>;
33 + clock-noncontinuous;
34 };
35 };
36 };