Skip to content

Commit 513fb11

Browse files
peyton-howe6by9
authored andcommitted
IMX219: Add 4-lane option to the device tree overlay
Signed-off-by: Peyton Howe <[email protected]>
1 parent 695001f commit 513fb11

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

arch/arm/boot/dts/overlays/README

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

27992801

28002802
Name: imx258

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,21 @@
6868
target = <&csi1>;
6969
__dormant__ {
7070
compatible = "brcm,bcm2835-unicam-legacy";
71+
};
72+
73+
fragment@201 {
74+
target = <&csi_ep>;
75+
__dormant__ {
76+
data-lanes = <1 2 3 4>;
77+
};
78+
};
79+
80+
fragment@202 {
81+
target = <&cam_endpoint>;
82+
__dormant__ {
83+
data-lanes = <1 2 3 4>;
84+
link-frequencies =
85+
/bits/ 64 <363000000>;
7186
};
7287
};
7388

@@ -83,6 +98,7 @@
8398
<&vcm>, "VANA-supply:0=", <&cam0_reg>;
8499
vcm = <&vcm>, "status=okay",
85100
<&cam_node>,"lens-focus:0=", <&vcm>;
101+
4lane = <0>, "+201+202";
86102
};
87103
};
88104

0 commit comments

Comments
 (0)