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@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:[email protected]]
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.
-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to