Skip to content

Commit

Permalink
MLK-23600-6 Update Basler camera link-frequencies to differentiate us…
Browse files Browse the repository at this point in the history
…ed MIPI clock

for 1 ISP camera on CSI0, MIPI CSI clock set to 500MHz
for 2 ISP cameras on CSI0/CSI1, MIPI CSI clock both set to 266MHz

Basler camera driver uses link-frequencies to retrieve proper clocks on
1 ISP or 2 ISP cameras cases.

Originally from Thies Moeller <thies.moeller@baslerweb.com>

Signed-off-by: Robby Cai <robby.cai@nxp.com>
Reviewed-by: Guoniu.zhou <guoniu.zhou@nxp.com>
(cherry picked from commit bb98a98727e49cc40539be66c5f7aefc8e6009b9)
  • Loading branch information
Robby Cai committed Mar 4, 2021
1 parent 9a75296 commit 21c3114
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/freescale/imx8mp-evk-basler-ov2775.dts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
basler_ep_0: endpoint {
data-lanes = <1 2 3 4>;
clock-lanes = <0>;
link-frequencies = /bits/ 64 <248000000>;
link-frequencies = /bits/ 64 <399000000>;
remote-endpoint = <&mipi_csi0_ep>;
};
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/freescale/imx8mp-evk-basler-ov5640.dts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
basler_ep_0: endpoint {
data-lanes = <1 2 3 4>;
clock-lanes = <0>;
link-frequencies = /bits/ 64 <248000000>;
link-frequencies = /bits/ 64 <750000000>;
remote-endpoint = <&mipi_csi0_ep>;
};
};
Expand Down
4 changes: 2 additions & 2 deletions arch/arm64/boot/dts/freescale/imx8mp-evk-dual-basler.dts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
basler_ep_0: endpoint {
data-lanes = <1 2 3 4>;
clock-lanes = <0>;
link-frequencies = /bits/ 64 <248000000>;
link-frequencies = /bits/ 64 <399000000>;
remote-endpoint = <&mipi_csi0_ep>;
};
};
Expand All @@ -53,7 +53,7 @@
basler_ep_1: endpoint {
data-lanes = <1 2 3 4>;
clock-lanes = <0>;
link-frequencies = /bits/ 64 <248000000>;
link-frequencies = /bits/ 64 <399000000>;
remote-endpoint = <&mipi_csi1_ep>;
};
};
Expand Down

0 comments on commit 21c3114

Please sign in to comment.