Skip to content

Commit 03ebcbf

Browse files
committed
IMX219: Add 4-lane option to the device tree overlay
Signed-off-by: Peyton Howe <[email protected]> Add 4lane setting to documentation and fix whitespace issue
1 parent 5fa4b1f commit 03ebcbf

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
@@ -2752,6 +2752,8 @@ Params: rotation Mounting rotation of the camera sensor (0 or
27522752
cam0 Adopt the default configuration for CAM0 on a
27532753
Compute Module (CSI0, i2c_vc, and cam0_reg).
27542754
vcm Configure a VCM focus drive on the sensor.
2755+
4lane Enable 4 CSI2 lanes. This requires a Compute
2756+
Module (1, 3, 4, or 5) or Pi 5.
27552757

27562758

27572759
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)