Skip to content

Commit e3297f3

Browse files
peyton-howepelwell
authored andcommitted
IMX219: Add 4-lane option to the device tree overlay
Signed-off-by: Peyton Howe <peyton.howe@bellsouth.net>
1 parent 5b958ef commit e3297f3

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

arch/arm/boot/dts/overlays/README

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2757,6 +2757,8 @@ Params: rotation Mounting rotation of the camera sensor (0 or
27572757
cam0 Adopt the default configuration for CAM0 on a
27582758
Compute Module (CSI0, i2c_vc, and cam0_reg).
27592759
vcm Configure a VCM focus drive on the sensor.
2760+
4lane Enable 4 CSI2 lanes. This requires a Compute
2761+
Module (1, 3, 4, or 5) or Pi 5.
27602762

27612763

27622764
Name: imx258

arch/arm/boot/dts/overlays/imx219-overlay.dts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,22 @@
6565
};
6666
};
6767

68+
fragment@201 {
69+
target = <&csi_ep>;
70+
__dormant__ {
71+
data-lanes = <1 2 3 4>;
72+
};
73+
};
74+
75+
fragment@202 {
76+
target = <&cam_endpoint>;
77+
__dormant__ {
78+
data-lanes = <1 2 3 4>;
79+
link-frequencies =
80+
/bits/ 64 <363000000>;
81+
};
82+
};
83+
6884
__overrides__ {
6985
rotation = <&cam_node>,"rotation:0";
7086
orientation = <&cam_node>,"orientation:0";
@@ -77,6 +93,7 @@
7793
<&vcm>, "VANA-supply:0=", <&cam0_reg>;
7894
vcm = <&vcm>, "status=okay",
7995
<&cam_node>,"lens-focus:0=", <&vcm>;
96+
4lane = <0>, "+201+202";
8097
};
8198
};
8299

0 commit comments

Comments
 (0)