OV5640 working only on first MIPI CSI interface(CSI0) but not on another (CSI1) of i.MX 8M Plus evk

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

OV5640 working only on first MIPI CSI interface(CSI0) but not on another (CSI1) of i.MX 8M Plus evk

ソリューションへジャンプ
453件の閲覧回数
devds
Contributor III

Hello NXP community,

issue : OV5640 working only on first MIPI CSI interface(CSI0) but not on another (CSI1) of i.MX 8M Plus evk.

I'm using Yocto with LF6.6.3_1.0.0 bsp version. In imx8mp-evk.dts file i have seen some configuration for csi0 as below but not for csi1

ov5640_1: ov5640_mipi@3c {
compatible = "ovti,ov5640";
reg = <0x3c>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_csi0_pwn>, <&pinctrl_csi0_rst>, <&pinctrl_csi_mclk>;
clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>;
clock-names = "xclk";
assigned-clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>;
assigned-clock-parents = <&clk IMX8MP_CLK_24M>;
assigned-clock-rates = <24000000>;
csi_id = <0>;
powerdown-gpios = <&gpio4 1 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
mclk = <24000000>;
mclk_source = <0>;
mipi_csi;
status = "okay";

port {
ov5640_mipi_1_ep: endpoint {
remote-endpoint = <&mipi_csi1_ep>;
data-lanes = <1 2>;
clock-lanes = <0>;
};
};

there is no similar configuration as above for csi1 so, I'm suspecting this is the reason why we are not able to use ov5640  on csi1(2nd csi) of imx8mp evk.

Could anyone please let me know whether this reason is valid or not and also let me know the steps to update this dts file changes like how to compile and and add changes to image for verifying changes.

 

0 件の賞賛
返信
1 解決策
432件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

you can try to use this dts file to enable ov5640 on the mipi csi2

https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm64/boot/dts/freescale/imx8mp-evk-os08a20-...

because the ov5640 in the mipi csi2 set the wrong powerdown pin and reset pin, for more detailed information, you also can refer the document as below

"ov5640 support on imx8mp - NXP Community"

元の投稿で解決策を見る

1 返信
433件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

you can try to use this dts file to enable ov5640 on the mipi csi2

https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm64/boot/dts/freescale/imx8mp-evk-os08a20-...

because the ov5640 in the mipi csi2 set the wrong powerdown pin and reset pin, for more detailed information, you also can refer the document as below

"ov5640 support on imx8mp - NXP Community"