Skip to content

IMX219: Add 4-lane option to the device tree overlay #6580

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -2752,6 +2752,8 @@ Params: rotation Mounting rotation of the camera sensor (0 or
cam0 Adopt the default configuration for CAM0 on a
Compute Module (CSI0, i2c_vc, and cam0_reg).
vcm Configure a VCM focus drive on the sensor.
4lane Enable 4 CSI2 lanes. This requires a Compute
Module (1, 3, 4, or 5) or Pi 5.


Name: imx258
Expand Down
17 changes: 17 additions & 0 deletions arch/arm/boot/dts/overlays/imx219-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,22 @@
};
};

fragment@201 {
target = <&csi_ep>;
__dormant__ {
data-lanes = <1 2 3 4>;

Check failure on line 71 in arch/arm/boot/dts/overlays/imx219-overlay.dts

View workflow job for this annotation

GitHub Actions / checkpatch review

ERROR: code indent should use tabs where possible

Check failure on line 71 in arch/arm/boot/dts/overlays/imx219-overlay.dts

View workflow job for this annotation

GitHub Actions / checkpatch review

WARNING: please, no space before tabs

Check failure on line 71 in arch/arm/boot/dts/overlays/imx219-overlay.dts

View workflow job for this annotation

GitHub Actions / checkpatch review

WARNING: please, no spaces at the start of a line
};

Check failure on line 72 in arch/arm/boot/dts/overlays/imx219-overlay.dts

View workflow job for this annotation

GitHub Actions / checkpatch review

ERROR: code indent should use tabs where possible

Check failure on line 72 in arch/arm/boot/dts/overlays/imx219-overlay.dts

View workflow job for this annotation

GitHub Actions / checkpatch review

WARNING: please, no space before tabs

Check failure on line 72 in arch/arm/boot/dts/overlays/imx219-overlay.dts

View workflow job for this annotation

GitHub Actions / checkpatch review

WARNING: please, no spaces at the start of a line
};

fragment@202 {
target = <&cam_endpoint>;

Check failure on line 76 in arch/arm/boot/dts/overlays/imx219-overlay.dts

View workflow job for this annotation

GitHub Actions / checkpatch review

ERROR: code indent should use tabs where possible

Check failure on line 76 in arch/arm/boot/dts/overlays/imx219-overlay.dts

View workflow job for this annotation

GitHub Actions / checkpatch review

WARNING: please, no space before tabs

Check failure on line 76 in arch/arm/boot/dts/overlays/imx219-overlay.dts

View workflow job for this annotation

GitHub Actions / checkpatch review

WARNING: please, no spaces at the start of a line
__dormant__ {
data-lanes = <1 2 3 4>;
link-frequencies =
/bits/ 64 <363000000>;
};
};

__overrides__ {
rotation = <&cam_node>,"rotation:0";
orientation = <&cam_node>,"orientation:0";
Expand All @@ -77,6 +93,7 @@
<&vcm>, "VANA-supply:0=", <&cam0_reg>;
vcm = <&vcm>, "status=okay",
<&cam_node>,"lens-focus:0=", <&vcm>;
4lane = <0>, "+201+202";
};
};

Expand Down
Loading