Skip to content

Commit 62285bb

Browse files
committed
dtoverlays: Add 120fps mode to imx290 overlay
The driver has been updated to support 120fps over 4 data lanes (ie CM4/Pi5/CM5 only), so add a "highfps" override to the overlay to allow selection of this. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
1 parent 5394193 commit 62285bb

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

arch/arm/boot/dts/overlays/README

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2796,6 +2796,8 @@ Params: 4lane Enable 4 CSI2 lanes. This requires a Compute
27962796
configuring the sensor (default on)
27972797
cam0 Adopt the default configuration for CAM0 on a
27982798
Compute Module (CSI0, i2c_vc, and cam0_reg).
2799+
highfps Enable 120fps mode. Requires 4 data lanes, and
2800+
limits the sensor to 10bit readout.
27992801

28002802

28012803
Name: imx296
@@ -2840,6 +2842,9 @@ Params: 4lane Enable 4 CSI2 lanes. This requires a Compute
28402842
configuring the sensor (default on)
28412843
cam0 Adopt the default configuration for CAM0 on a
28422844
Compute Module (CSI0, i2c_vc, and cam0_reg).
2845+
highfps Enable 120fps mode. Invalid on this sensor
2846+
variant, but the overlay shares portions with
2847+
imx290 and imx462.
28432848

28442849

28452850
Name: imx335
@@ -2937,6 +2942,8 @@ Params: 4lane Enable 4 CSI2 lanes. This requires a Compute
29372942
configuring the sensor (default on)
29382943
cam0 Adopt the default configuration for CAM0 on a
29392944
Compute Module (CSI0, i2c_vc, and cam0_reg).
2945+
highfps Enable 120fps mode. Requires 4 data lanes, and
2946+
limits the sensor to 10bit readout.
29402947

29412948

29422949
Name: imx477

arch/arm/boot/dts/overlays/imx290_327-overlay.dtsi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,15 @@
9292
};
9393
};
9494

95+
fragment@11 {
96+
target = <&cam_endpoint>;
97+
__dormant__ {
98+
data-lanes = <1 2 3 4>;
99+
link-frequencies =
100+
/bits/ 64 <445500000 297000000>;
101+
};
102+
};
103+
95104
__overrides__ {
96105
4lane = <0>, "-6+7-8+9";
97106
clock-frequency = <&cam_clk>,"clock-frequency:0",
@@ -104,6 +113,7 @@
104113
<&clk_frag>, "target:0=",<&cam0_clk>,
105114
<&cam_node>, "clocks:0=",<&cam0_clk>,
106115
<&cam_node>, "vdda-supply:0=",<&cam0_reg>;
116+
highfps = <0>, "-6+11-8+9";
107117
};
108118
};
109119

0 commit comments

Comments
 (0)