Skip to content

Commit 7f1c635

Browse files
peyton-howepopcornmix
authored andcommitted
IMX219: Add 4-lane option to the device tree overlay
Signed-off-by: Peyton Howe <peyton.howe@bellsouth.net>
1 parent 5494f70 commit 7f1c635

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
@@ -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: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,22 @@
7171
};
7272
};
7373

74+
fragment@201 {
75+
target = <&csi_ep>;
76+
__dormant__ {
77+
data-lanes = <1 2 3 4>;
78+
};
79+
};
80+
81+
fragment@202 {
82+
target = <&cam_endpoint>;
83+
__dormant__ {
84+
data-lanes = <1 2 3 4>;
85+
link-frequencies =
86+
/bits/ 64 <363000000>;
87+
};
88+
};
89+
7490
__overrides__ {
7591
rotation = <&cam_node>,"rotation:0";
7692
orientation = <&cam_node>,"orientation:0";
@@ -83,6 +99,7 @@
8399
<&vcm>, "VANA-supply:0=", <&cam0_reg>;
84100
vcm = <&vcm>, "status=okay",
85101
<&cam_node>,"lens-focus:0=", <&vcm>;
102+
4lane = <0>, "+201+202";
86103
};
87104
};
88105

0 commit comments

Comments
 (0)