mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
	
		
			1.4 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
	
		
			1.4 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
From 93853d4557c1cc4c1a28689b27a12a4b0fe2d249 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";
 | 
						|
 	};
 | 
						|
 };
 | 
						|
 
 |