openwrt/target/linux/bcm27xx/patches-6.6/950-1380-dtoverlays-Add-link-frequency-override-to-imx477-378.patch

44 lines
1.7 KiB
Diff
Raw Normal View History

From 7e253a062d5a14de13ccfb410570975099c238be Mon Sep 17 00:00:00 2001
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
Date: Thu, 14 Nov 2024 13:15:24 +0000
Subject: [PATCH] dtoverlays: Add link-frequency override to imx477/378 overlay
Copy of the imx708 change.
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
---
arch/arm/boot/dts/overlays/README | 4 ++++
arch/arm/boot/dts/overlays/imx477_378-overlay.dtsi | 1 +
2 files changed, 5 insertions(+)
--- a/arch/arm/boot/dts/overlays/README
+++ b/arch/arm/boot/dts/overlays/README
@@ -2780,6 +2780,8 @@ Params: rotation Mounting
camera clamping I/Os such as XVS to 0V.
sync-source Configure as vsync source
sync-sink Configure as vsync sink
+ link-frequency Allowable link frequency values to use in Hz:
+ 450000000 (default), 453000000, 456000000.
Name: imx462
@@ -2822,6 +2824,8 @@ Params: rotation Mounting
camera clamping I/Os such as XVS to 0V.
sync-source Configure as vsync source
sync-sink Configure as vsync sink
+ link-frequency Allowable link frequency values to use in Hz:
+ 450000000 (default), 453000000, 456000000.
Name: imx500
--- a/arch/arm/boot/dts/overlays/imx477_378-overlay.dtsi
+++ b/arch/arm/boot/dts/overlays/imx477_378-overlay.dtsi
@@ -80,6 +80,7 @@
<&cam_node>, "clocks:0=",<&cam0_clk>,
<&cam_node>, "VANA-supply:0=",<&cam0_reg>;
always-on = <0>, "+99";
+ link-frequency = <&cam_endpoint>,"link-frequencies#0";
};
};