[meta-freescale] Configuring MIPI Sensor

Ali Ismail AIsmail at syncroness.com
Tue Aug 23 10:07:28 PDT 2016


Hi everyone,


I am trying to add a MIPI sensor to my imx6 custom board. I am at the step where I am configuring the IPU and MIPI/CSI2 interface. I am trying to configure VC2 to CSI0 in IPU2.



In imx6dql.dtsi the mipi/csi interface is defined.



mipi_csi: mipi_csi at 021dc000 { /* MIPI-CSI */

                                compatible = "fsl,imx6q-mipi-csi2";

                                reg = <0x021dc000 0x4000>;

                                interrupts = <0 100 0x04>, <0 101 0x04>;

                                clocks = <&clks IMX6QDL_CLK_HSI_TX>,

                                         <&clks IMX6QDL_CLK_EMI_SEL>,

                                         <&clks IMX6QDL_CLK_VIDEO_27M>;

                                clock-names = "dphy_clk", "pixel_clk", "cfg_clk";

                                status = "disable";

                        };

In imx6dqscm_qwks_rev2.dts the mipi/csi is configured with IPU2(ipu_id = 1), CSI0(csi_id = 0), VC2 (v_channel=2) and 1 lane.



&mipi_csi {

        status = "okay";

        ipu_id = <1>;

        csi_id = <0>;

        v_channel = <2>;

        lanes = <1>;

};



IPU2 is also defined and configured already in imx6qdl.dtsi. My issue is that when I read memory address 0x021dc004 (MIPI_CSI_N_LANES) I get 0x00000003, which means there are 4 active data lanes. After looking at the rest of the registers, everything is in reset. Any hints on why everything is in reset and/or what I have to configure to get it out of reset?


ali ismail
engineer ii


[cid:image001.gif at 01D18E8C.5EC85D10]
P 720.257.7128

10875 dover street, unit 200
westminster, colorado 80021
www.syncroness.com<http://www.syncroness.com/>
[Winner's Signature]



________________________________

CONFIDENTIALITY NOTICE: This email transmission, and any documents, files or previous e-mail messages attached to it may contain confidential information that is legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify the sender. Please destroy the original transmission and its attachments without reading or saving in any manner.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20160823/2455c244/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2370 bytes
Desc: image001.gif
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20160823/2455c244/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 54705 bytes
Desc: image002.png
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20160823/2455c244/attachment.png>


More information about the meta-freescale mailing list