summaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-6.1/950-0673-dtoverlays-Add-link-frequency-parameter-for-the-Sony.patch
blob: c263622a2a9ef1310f7d2e89bdd66b2ec52b8368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From 4137914f6648cdcf0fcea63bd08e4a3ec8e1e39b Mon Sep 17 00:00:00 2001
From: Naushir Patuck <naush@raspberrypi.com>
Date: Fri, 31 Mar 2023 14:56:49 +0100
Subject: [PATCH] dtoverlays: Add link-frequency parameter for the Sony
 IMX708 sensor

Add a parameter to change the sensor device CSI-2 link frequency to
one of the following values: 450Mhz (default), 447Mhz, or 453Mhz.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
---
 arch/arm/boot/dts/overlays/README             | 2 ++
 arch/arm/boot/dts/overlays/imx708-overlay.dts | 1 +
 2 files changed, 3 insertions(+)

--- a/arch/arm/boot/dts/overlays/README
+++ b/arch/arm/boot/dts/overlays/README
@@ -2417,6 +2417,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).
+        link-frequency          Allowable link frequency values to use in Hz:
+                                450000000 (default), 447000000, 453000000.
 
 
 Name:   iqaudio-codec
--- a/arch/arm/boot/dts/overlays/imx708-overlay.dts
+++ b/arch/arm/boot/dts/overlays/imx708-overlay.dts
@@ -88,6 +88,7 @@
 		       <&vcm_node>, "VDD-supply:0=",<&cam0_reg>;
 		vcm = <&vcm_node>, "status",
 		      <0>, "=4";
+		link-frequency = <&cam_endpoint>,"link-frequencies#0";
 	};
 };