ov5640 support on imx8mp

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ov5640 support on imx8mp

ov5640 support on imx8mp

Recently many customers have been tested ov5640 on imx8mp and found different issues, this document point some dtb file issues and simple introduce how to test ov5640 on the imx8mp evk board.

as we known, current bsp supports ov5640, ov2775 and basler camera, and many customers have ov5640 already, so we can test this first

One can find different camera support dtb files for ov5640,

 imx8mp-evk-basler-ov5640.dts

<https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8mp-evk-b...>

imx8mp-evk-ov2775-ov5640.dts

<https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8mp-evk-o...>

 

  • One ov5640 support

 

 

joanxie_0-1625909772678.pngjoanxie_1-1625909803980.png

 

Refer to the imx8mp evk baseboard schematic, we can find camera 1# and camera 2# share the same reset and power down pins

 

joanxie_2-1625909895563.png

 

 

joanxie_3-1625909912412.png

 

joanxie_4-1625909931675.png

 

Refer to the schematic, current evk uses gpio2_IO11 as power down pin and gpio1_IO06 as reset pin, but let’s see the i.mx8mp-evk.dts file

<https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8mp-evk.d...>

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 = "disabled";

 

               port {

                       ov5640_mipi_1_ep: endpoint {

                               remote-endpoint = <&mipi_csi1_ep>;

                               data-lanes = <1 2>;

                               clock-lanes = <0>;

                       };

               };

        };

 

 

So if customer wants connect I2C3 to ov5640, don’t forget change the power down pin and reset pin as what schematic defines

 

Then you can find the issue obviously in this dts file, and pls try to correct as below:

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8mp-evk-o...

 

&i2c3 {       

      /delete-node/ov2775_mipi@36;

}; 

&ov5640_1 {

-       pinctrl-0 = <&pinctrl_csi1_pwn>, <&pinctrl_csi1_rst>, <&pinctrl_csi_mclk>;

+      powerdown-gpios = <&gpio2 11 GPIO_ACTIVE_HIGH>;

 +      reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;        

         csi_id = <1>;        

      status = "okay";

};

 

That’s why some customers tested ov5640 by imx8mp-evk-ov2775-ov5640.dts file failed

 

  • Dual ov5640

 

Because ov5640 has ISP, so current bsp connect ov5640 by ISI, so customer can set status of &isi_0 or &isi_1 to “Okay” in the dts file if you just connect one ov5640, Because of evk HW limitation, current board couldn’t support dual ISI, which mean couldn't support dual ov5640, because they share the same power down pin and reset pin, so customer only can connect ov5640 by ISI0 or ISI1 to test 

 

 

%3CLINGO-SUB%20id%3D%22lingo-sub-1305725%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eov5640%20support%20on%20imx8mp%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1305725%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%0A%3CP%3E%3CSPAN%3ERecently%20many%20customers%20have%20been%20tested%20ov5640%20on%20imx8mp%20and%20found%20different%20issues%2C%20this%20document%20point%20some%20dtb%20file%20issues%20and%20simple%20introduce%20how%20to%20test%20ov5640%20on%20the%20imx8mp%20evk%20board.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Eas%20we%20known%2C%20current%20bsp%20supports%20ov5640%2C%20ov2775%20and%20basler%20camera%2C%20and%20many%20customers%20have%20ov5640%20already%2C%20so%20we%20can%20test%20this%20first%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EOne%20can%20find%20different%20camera%20support%20dtb%20files%20for%20ov5640%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3E%26nbsp%3Bimx8mp-evk-basler-ov5640.dts%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26lt%3B%3CA%20href%3D%22https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Flinux-imx%2Ftree%2Farch%2Farm64%2Fboot%2Fdts%2Ffreescale%2Fimx8mp-evk-basler-ov5640.dts%3Fh%3Dimx_5.4.70_2.3.0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Flinux-imx%2Ftree%2Farch%2Farm64%2Fboot%2Fdts%2Ffreescale%2Fimx8mp-evk-basler-ov5640.dts%3Fh%3Dimx_5.4.70_2.3.0%3C%2FA%3E%26gt%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSPAN%3Eimx8mp-evk-ov2775-ov5640.dts%20%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26lt%3B%3CA%20href%3D%22https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Flinux-imx%2Ftree%2Farch%2Farm64%2Fboot%2Fdts%2Ffreescale%2Fimx8mp-evk-ov2775-ov5640.dts%3Fh%3Dimx_5.4.70_2.3.0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Flinux-imx%2Ftree%2Farch%2Farm64%2Fboot%2Fdts%2Ffreescale%2Fimx8mp-evk-ov2775-ov5640.dts%3Fh%3Dimx_5.4.70_2.3.0%3C%2FA%3E%26gt%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%3EOne%20ov5640%20support%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22joanxie_0-1625909772678.png%22%20style%3D%22width%3A%20901px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22joanxie_0-1625909772678.png%22%20style%3D%22width%3A%20901px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F149416iC43582BE708577B4%2Fimage-dimensions%2F901x454%3Fv%3Dv2%22%20width%3D%22901%22%20height%3D%22454%22%20role%3D%22button%22%20title%3D%22joanxie_0-1625909772678.png%22%20alt%3D%22joanxie_0-1625909772678.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22joanxie_1-1625909803980.png%22%20style%3D%22width%3A%20858px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22joanxie_1-1625909803980.png%22%20style%3D%22width%3A%20858px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F149417iCAE370F01F52C207%2Fimage-dimensions%2F858x400%3Fv%3Dv2%22%20width%3D%22858%22%20height%3D%22400%22%20role%3D%22button%22%20title%3D%22joanxie_1-1625909803980.png%22%20alt%3D%22joanxie_1-1625909803980.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3ERefer%20to%20the%20imx8mp%20evk%20baseboard%20schematic%2C%20we%20can%20find%20camera%201%23%20and%20camera%202%23%20share%20the%20same%20reset%20and%20power%20down%20pins%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22joanxie_2-1625909895563.png%22%20style%3D%22width%3A%20745px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22joanxie_2-1625909895563.png%22%20style%3D%22width%3A%20745px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F149418iDC5DEE69AC3C0C66%2Fimage-dimensions%2F745x266%3Fv%3Dv2%22%20width%3D%22745%22%20height%3D%22266%22%20role%3D%22button%22%20title%3D%22joanxie_2-1625909895563.png%22%20alt%3D%22joanxie_2-1625909895563.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22joanxie_3-1625909912412.png%22%20style%3D%22width%3A%20711px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22joanxie_3-1625909912412.png%22%20style%3D%22width%3A%20711px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F149419i2C99DC96EAE907A5%2Fimage-dimensions%2F711x560%3Fv%3Dv2%22%20width%3D%22711%22%20height%3D%22560%22%20role%3D%22button%22%20title%3D%22joanxie_3-1625909912412.png%22%20alt%3D%22joanxie_3-1625909912412.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22joanxie_4-1625909931675.png%22%20style%3D%22width%3A%20769px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22joanxie_4-1625909931675.png%22%20style%3D%22width%3A%20769px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F149420iA5234BB675AB87F6%2Fimage-dimensions%2F769x488%3Fv%3Dv2%22%20width%3D%22769%22%20height%3D%22488%22%20role%3D%22button%22%20title%3D%22joanxie_4-1625909931675.png%22%20alt%3D%22joanxie_4-1625909931675.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3ERefer%20to%20the%20schematic%2C%20current%20evk%20uses%20gpio2_IO11%20as%20power%20down%20pin%20and%20gpio1_IO06%20as%20reset%20pin%2C%20but%20let%E2%80%99s%20see%20the%20i.mx8mp-evk.dts%20file%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26lt%3B%3CA%20href%3D%22https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Flinux-imx%2Ftree%2Farch%2Farm64%2Fboot%2Fdts%2Ffreescale%2Fimx8mp-evk.dts%3Fh%3Dimx_5.4.70_2.3.0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Flinux-imx%2Ftree%2Farch%2Farm64%2Fboot%2Fdts%2Ffreescale%2Fimx8mp-evk.dts%3Fh%3Dimx_5.4.70_2.3.0%3C%2FA%3E%26gt%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3Eov5640_1%3A%20ov5640_mipi%403c%20%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20compatible%20%3D%20%22ovti%2Cov5640%22%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20reg%20%3D%20%26lt%3B0x3c%26gt%3B%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20pinctrl-names%20%3D%20%22default%22%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20pinctrl-0%20%3D%20%26lt%3B%26amp%3Bpinctrl_csi0_pwn%26gt%3B%2C%20%26lt%3B%26amp%3Bpinctrl_csi0_rst%26gt%3B%2C%20%26lt%3B%26amp%3Bpinctrl_csi_mclk%26gt%3B%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20clocks%20%3D%20%26lt%3B%26amp%3Bclk%20IMX8MP_CLK_IPP_DO_CLKO2%26gt%3B%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20clock-names%20%3D%20%22xclk%22%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20assigned-clocks%20%3D%20%26lt%3B%26amp%3Bclk%20IMX8MP_CLK_IPP_DO_CLKO2%26gt%3B%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20assigned-clock-parents%20%3D%20%26lt%3B%26amp%3Bclk%20IMX8MP_CLK_24M%26gt%3B%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20assigned-clock-rates%20%3D%20%26lt%3B24000000%26gt%3B%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20csi_id%20%3D%20%26lt%3B0%26gt%3B%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CFONT%20color%3D%22%23FF0000%22%3E%26nbsp%3B%20powerdown-gpios%20%3D%20%26lt%3B%26amp%3Bgpio4%201%20GPIO_ACTIVE_HIGH%26gt%3B%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20reset-gpios%20%3D%20%26lt%3B%26amp%3Bgpio4%200%20GPIO_ACTIVE_LOW%26gt%3B%3B%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20mclk%20%3D%20%26lt%3B24000000%26gt%3B%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20mclk_source%20%3D%20%26lt%3B0%26gt%3B%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20mipi_csi%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20status%20%3D%20%22disabled%22%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20port%20%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20ov5640_mipi_1_ep%3A%20endpoint%20%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20remote-endpoint%20%3D%20%26lt%3B%26amp%3Bmipi_csi1_ep%26gt%3B%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20data-lanes%20%3D%20%26lt%3B1%202%26gt%3B%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20clock-lanes%20%3D%20%26lt%3B0%26gt%3B%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ESo%20if%20customer%20wants%20connect%20I2C3%20to%20ov5640%2C%20don%E2%80%99t%20forget%20change%20the%20power%20down%20pin%20and%20reset%20pin%20as%20what%20schematic%20defines%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThen%20you%20can%20find%20the%20issue%20obviously%20in%20this%20dts%20file%2C%20and%20pls%20try%20to%20correct%20as%20below%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Flinux-imx%2Ftree%2Farch%2Farm64%2Fboot%2Fdts%2Ffreescale%2Fimx8mp-evk-ov2775-ov5640.dts%3Fh%3Dimx_5.4.70_2.3.0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Flinux-imx%2Ftree%2Farch%2Farm64%2Fboot%2Fdts%2Ffreescale%2Fimx8mp-evk-ov2775-ov5640.dts%3Fh%3Dimx_5.4.70_2.3.0%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26amp%3Bi2c3%20%7B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2Fdelete-node%2Fov2775_mipi%4036%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%7D%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26amp%3Bov5640_1%20%7B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20pinctrl-0%20%3D%20%26lt%3B%26amp%3Bpinctrl_csi1_pwn%26gt%3B%2C%20%26lt%3B%26amp%3Bpinctrl_csi1_rst%26gt%3B%2C%20%26lt%3B%26amp%3Bpinctrl_csi_mclk%26gt%3B%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSPAN%3E%2B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20powerdown-gpios%20%3D%20%26lt%3B%26amp%3Bgpio2%2011%20GPIO_ACTIVE_HIGH%26gt%3B%3B%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CFONT%20color%3D%22%23FF0000%22%3E%26nbsp%3B%2B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20reset-gpios%20%3D%20%26lt%3B%26amp%3Bgpio1%206%20GPIO_ACTIVE_LOW%26gt%3B%3B%26nbsp%3B%26nbsp%3B%3C%2FFONT%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20csi_id%20%3D%20%26lt%3B1%26gt%3B%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20status%20%3D%20%22okay%22%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%7D%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThat%E2%80%99s%20why%20some%20customers%20tested%20ov5640%20by%20imx8mp-evk-ov2775-ov5640.dts%20file%20failed%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%3EDual%20ov5640%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBecause%20ov5640%20has%20ISP%2C%20so%20current%20bsp%20connect%20ov5640%20by%20ISI%2C%20so%20customer%20can%20set%20status%20of%20%26amp%3Bisi_0%20or%20%26amp%3Bisi_1%20to%20%E2%80%9COkay%E2%80%9D%20in%20the%20dts%20file%20if%20you%20just%20connect%20one%20ov5640%2C%20%3C%2FSPAN%3E%3CSPAN%3EBecause%20of%20evk%20HW%20limitation%2C%20current%20board%20couldn%E2%80%99t%20support%20dual%20ISI%2C%20which%20mean%20couldn't%20support%20dual%20ov5640%2C%20because%20they%20share%20the%20same%20power%20down%20pin%20and%20reset%20pin%2C%20so%20customer%20only%20can%20connect%20ov5640%20by%20ISI0%20or%20ISI1%20to%20test%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1305725%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1305725%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3Ei.MX%208M%20%7C%20i.MX%208M%20Mini%20%7C%20i.MX%208M%20Nano%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎07-10-2021 02:53 AM
Updated by: