c263622a2a9ef1310f7d2e89bdd66b2ec52b8368
[openwrt/staging/xback.git] /
1 From 4137914f6648cdcf0fcea63bd08e4a3ec8e1e39b Mon Sep 17 00:00:00 2001
2 From: Naushir Patuck <naush@raspberrypi.com>
3 Date: Fri, 31 Mar 2023 14:56:49 +0100
4 Subject: [PATCH] dtoverlays: Add link-frequency parameter for the Sony
5 IMX708 sensor
6
7 Add a parameter to change the sensor device CSI-2 link frequency to
8 one of the following values: 450Mhz (default), 447Mhz, or 453Mhz.
9
10 Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
11 ---
12 arch/arm/boot/dts/overlays/README | 2 ++
13 arch/arm/boot/dts/overlays/imx708-overlay.dts | 1 +
14 2 files changed, 3 insertions(+)
15
16 --- a/arch/arm/boot/dts/overlays/README
17 +++ b/arch/arm/boot/dts/overlays/README
18 @@ -2417,6 +2417,8 @@ Params: rotation Mounting
19 configuring the sensor (default on)
20 cam0 Adopt the default configuration for CAM0 on a
21 Compute Module (CSI0, i2c_vc, and cam0_reg).
22 + link-frequency Allowable link frequency values to use in Hz:
23 + 450000000 (default), 447000000, 453000000.
24
25
26 Name: iqaudio-codec
27 --- a/arch/arm/boot/dts/overlays/imx708-overlay.dts
28 +++ b/arch/arm/boot/dts/overlays/imx708-overlay.dts
29 @@ -88,6 +88,7 @@
30 <&vcm_node>, "VDD-supply:0=",<&cam0_reg>;
31 vcm = <&vcm_node>, "status",
32 <0>, "=4";
33 + link-frequency = <&cam_endpoint>,"link-frequencies#0";
34 };
35 };
36