<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Some Experience When Enable MIPI Camera in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228983#M16849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background: white; border: 0px; margin: 0px 0px 0.0001pt;"&gt;&lt;SPAN style="background: white; border: 1pt none windowtext; font-weight: inherit; font-size: 10pt; padding: 0in;"&gt;Dear &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ShaojunWang"&gt;ShaojunWang&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background: white; border: 0px; margin: 0px 0px 0.0001pt;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background: white; border: 0px; margin: 0px 0px 0.0001pt;"&gt;&lt;SPAN style="border: 1pt none windowtext; font-weight: inherit; font-size: 10pt; padding: 0in;"&gt;Your discussion is very helpful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background: white; border: 0px; margin: 0px 0px 0.0001pt;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background: white; border: 0px; margin: 0px 0px 0.0001pt;"&gt;&lt;SPAN style="border: 1pt none windowtext; font-weight: inherit; font-size: 10pt; padding: 0in;"&gt;I'm&amp;nbsp;using the ADV7280M chip&amp;nbsp;in a new design. Currently I&amp;nbsp;have a&amp;nbsp;IMX6 Quad Sabre Lite development board and I'm trying to &lt;STRONG style="border: 0px; font-weight: bold; font-size: 13.3333px;"&gt;decode one CVBS input to feed iMax MIPI&lt;/STRONG&gt; using the circuit which I was made from ADV7280M. I connected ADV7280M with iMAX6 using I2C and MIPI data lane.Also, I have&amp;nbsp;Linux distribution that has an adv7180_mipi.c&amp;nbsp;driver.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background: white; border: 0px; margin: 0px 0px 0.0001pt;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="background: white; border: 0px; font-weight: inherit; text-indent: -0.25in; margin: 0in 0in 0.0001pt;"&gt;&lt;STRONG style="border: 1pt none windowtext; font-weight: bold; font-size: 10pt; padding: 0in;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Does this driver compatible with ADV 7280M ?&amp;nbsp;Does Analog Devices have a Linux driver for ADV7280M&amp;nbsp;?&amp;nbsp;Are you aware of any other driver support or how this driver can be used to&amp;nbsp;stream video from the ADV7280M ? Can you tell me the way of combining ADV7280M with&amp;nbsp;&lt;SPAN style="background: white; border: 0px; font-weight: inherit; font-size: 13.3333px;"&gt;Video 4 Linux architecture ?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI style="background: white; border: 0px; font-weight: inherit; text-indent: -0.25in; margin: 0in 0in 0.0001pt;"&gt;&lt;STRONG style="border: 1pt none windowtext; font-weight: bold; font-size: 10pt; padding: 0in;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; As well as it is not possible to run the script given here&amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="https://ez.analog.com/docs/DOC-10612" title="https://ez.analog.com/docs/DOC-10612"&gt;ADV7280 / ADV7280-M Design Support Files | EngineerZone&lt;/A&gt;&amp;nbsp;for ADV7280M development board as I have made my PCB using only ADV7280M chip. There is no usb data communication and I'm just using I2C and MIPI data and clk pins of the chip to communicate with iMAX6. So I need to address the registers of the ADV7280M chip in a different way( Not like in Script). So can you tell me how should I address for each and every registers of the chip using I2C or provide some reference materials ?&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="color: #51626f; background: white; border: 0px; margin: 0px 0px 0.0001pt;"&gt;&lt;SPAN style="border: 1pt none windowtext; font-weight: inherit; font-size: 10pt; padding: 0in;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background: white; border: 0px; margin: 0px 0px 0.0001pt;"&gt;&lt;SPAN style="color: #222222; background: white; border: 1pt none windowtext; font-weight: inherit; font-size: 10pt; padding: 0in;"&gt;Thank You,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background: white; border: 0px; margin: 0px 0px 0.0001pt;"&gt;&lt;SPAN style="color: #222222; background: white; border: 1pt none windowtext; font-weight: inherit; font-size: 10pt; padding: 0in;"&gt;Peter.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2016 05:46:23 GMT</pubDate>
    <dc:creator>peteramond</dc:creator>
    <dc:date>2016-09-07T05:46:23Z</dc:date>
    <item>
      <title>Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228959#M16825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;1. Debug steps for customer MIPI sensor&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #fdfdfd;"&gt;Debug steps for customer MIPI sensor.docx&lt;/SPAN&gt; is the doc about how to debug MIPI sensor.&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. SabreSD default setting&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In SabreSD board, ov5642 is connected to CSI0 parallel port, ov5640_mipi is connected to MIPI CSI port.&lt;/P&gt;&lt;P&gt;In BSP default setting, ov5640_mipi is routed to IPU0, CSI1. According to the doc, the virtual channel in MX6x side is 1, so virtual channel 1 should be enabled in camera sensor side. In driver ov5640_mipi.c, the code is “ov5640_set_virtual_channel(ov5640_data.csi)”.&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. MIPI DPHY clock setting&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;According to the doc,&amp;nbsp; MIPI DPHY clock should match camera sensor clock.&lt;/P&gt;&lt;P&gt;If the clocks are not matched, the MX6x MIPI_CSI Error state register MIPI_CSI_ERR1 is not 0, it would be 0x3, “Start of Transmission Error on data lane”.&lt;/P&gt;&lt;P&gt;So when enable new MIPI camera, need to measure the frequency of clock lane, or calculate from the related sensor register, then configure MPII DPHY clock.&lt;/P&gt;&lt;P&gt;For example, if the clock lane frequency is 128MHz, the clock range should be 250-270MHz because of DDR clock mode, so write 0x08 to CSI2_PHY_TST_CTRL1. One function of MIPI_CSI_PHY_TST_CTRL1 is setting the MIPI DPHY clock, this function is not described in MX6DQ RM revD.&lt;/P&gt;&lt;P&gt;The patch is&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;diff --git a/drivers/mxc/mipi/mxc_mipi_csi2.c b/drivers/mxc/mipi/mxc_mipi_csi2.c&lt;/P&gt;&lt;P&gt;index 1f051df..d53aaf5&lt;/P&gt;&lt;P&gt;--- a/drivers/mxc/mipi/mxc_mipi_csi2.c&lt;/P&gt;&lt;P&gt;+++ b/drivers/mxc/mipi/mxc_mipi_csi2.c&lt;/P&gt;&lt;P&gt;@@ -286,7 +286,7 @@ int mipi_csi2_reset(struct mipi_csi2_info *info)&lt;/P&gt;&lt;P&gt;mipi_csi2_write(info, 0x00000002, CSI2_PHY_TST_CTRL0);&lt;/P&gt;&lt;P&gt;mipi_csi2_write(info, 0x00010044, CSI2_PHY_TST_CTRL1);&lt;/P&gt;&lt;P&gt;mipi_csi2_write(info, 0x00000000, CSI2_PHY_TST_CTRL0);&lt;/P&gt;&lt;P&gt;- mipi_csi2_write(info, 0x00000014, CSI2_PHY_TST_CTRL1);&lt;/P&gt;&lt;P&gt;+ mipi_csi2_write(info, 0x00000008, CSI2_PHY_TST_CTRL1);&lt;/P&gt;&lt;P&gt;mipi_csi2_write(info, 0x00000002, CSI2_PHY_TST_CTRL0);&lt;/P&gt;&lt;P&gt;mipi_csi2_write(info, 0x00000000, CSI2_PHY_TST_CTRL0);&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4. Virtual channel&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For some mipi camera sensor, such as Samsung s5k4ec, the virtual channel is fixed to 0, there is no register in the sensor to configure it to other value.&lt;/P&gt;&lt;P&gt;We can configure the mipi camera to IPU0 CSI0 so the virtual channel in MX6 side is 0.&lt;/P&gt;&lt;P&gt;If virtual channel&amp;nbsp;in camera side and MX6 side is not same, there is no error in mipi state and error register, but we will see below log when mx6 capture image&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VIDIOC_DQBUF failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5. Mipi and CSI camera on same CSI port&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If the parallel sensor is connected to CSI0 in the board, to enable dual camera, need to apply patch 0001-support-mipi-and-parallel-camera-on-same-csi-port.patch&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336051"&gt;0001-support-mipi-and-parallel-camera-on-same-csi-port.patch.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 02:56:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228959#M16825</guid>
      <dc:creator>shaojun_wang</dc:creator>
      <dc:date>2013-05-08T02:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228960#M16826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I look your text, and think you have a lot knowledge about mipi camera for i.mx6q.&lt;/P&gt;&lt;P&gt;I have a problem with mipi and want you help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a custom mipi camera with two modes:&lt;/P&gt;&lt;P&gt;first:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1280x720@30fps&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4lanes&lt;/P&gt;&lt;P&gt;second:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2560x1440@30fps&amp;nbsp;&amp;nbsp;&amp;nbsp; 4lanes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i can capture correct images from camera on first mode.&lt;/P&gt;&lt;P&gt;But when camera work on second mode, the images i get is not correct,&lt;/P&gt;&lt;P&gt;and IPU error: IPU1_INT_STAT_5=0x00000001 is happedned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About this error, RM says it is IPU clock is not enough for the requirement.&lt;/P&gt;&lt;P&gt;Does this means my camera is too quick for i.mx6q?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is i can not set camera to output a slower fps.&lt;/P&gt;&lt;P&gt;So i can't confirm where is the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the RM, MIPI 4 data lanes port supports up to 400MByte/sec&lt;/P&gt;&lt;P&gt;And now my camera is 2560x1440x30x2=221.184MByte/sec, that is not over the 400MByte/sec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any ideas about this? Thank you very Much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 08:17:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228960#M16826</guid>
      <dc:creator>GaoJianzhong</dc:creator>
      <dc:date>2013-05-17T08:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228961#M16827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using omini vision ov9740 mipi camera on imx6q.&lt;/P&gt;&lt;P&gt;I am getting "ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help us &amp;amp; give idea to debug this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The camera interface is mipi &amp;amp; connected to CSI1 &amp;amp; ipu0.&lt;/P&gt;&lt;P&gt;The mipi register value whic i got are below&lt;/P&gt;&lt;P&gt;MIPI_CSI_PHY_STATE 0x320&lt;/P&gt;&lt;P&gt;MIPI_CSI_ERR1&amp;nbsp; 0x0&lt;/P&gt;&lt;P&gt;MIPI_CSI_ERR2 0x10&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The board config file setting for mipi,v4l2capture &amp;amp; sensor are below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)mipi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static struct mipi_csi2_platform_data mipi_csi2_pdata = {&lt;/P&gt;&lt;P&gt; .ipu_id&amp;nbsp; = 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .csi_id = 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .v_channel = 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .lanes = 2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .dphy_clk = "mipi_pllref_clk",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .pixel_clk = "emi_clk",&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)v4l2_capture&lt;/P&gt;&lt;P&gt;static struct fsl_mxc_capture_platform_data capture_data[] = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt; .csi = 0,&lt;/P&gt;&lt;P&gt; .ipu = 0,&lt;/P&gt;&lt;P&gt; .mclk_source = 0,&lt;/P&gt;&lt;P&gt; .is_mipi = 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, {&lt;/P&gt;&lt;P&gt; .csi = 1,&lt;/P&gt;&lt;P&gt; .ipu = 0,&lt;/P&gt;&lt;P&gt; .mclk_source = 0,&lt;/P&gt;&lt;P&gt; .is_mipi = 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)ov9740 sensor&lt;/P&gt;&lt;P&gt;static struct fsl_mxc_camera_platform_data mipi_csi2_data = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .mclk = 24000000,&lt;/P&gt;&lt;P&gt; .mclk_source = 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .csi = 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .io_init = mx6q_mipi_sensor_io_init,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .pwdn = mx6q_mipi_powerdown,&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The camera image setting looks fine i.e(width(1280), height(720), pixformat(UYVY) ,DATA_WIDTH 8bit by debug print in mxc_v4l2_capture.c as well as in sensor file).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sensor is connected to mipi via two lane.&lt;/P&gt;&lt;P&gt;Mipi is configure for two lane &amp;amp; sensor is sending data on one lane only(as per sensor setting).&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 10:20:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228961#M16827</guid>
      <dc:creator>ravishankergupt</dc:creator>
      <dc:date>2013-05-20T10:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228962#M16828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sorry, the document you have referenced is not accessible. Can you check this?&lt;/P&gt;&lt;P&gt;The reason that I'm asking is that I'm trying to debug MIPI for a camera driver I've been working on (Aptina AR0330) and I'm interested to know more about points 3 and 4. Both points mention something about the referenced document which I can't get any access to.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 12:57:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228962#M16828</guid>
      <dc:creator>ivankozic</dc:creator>
      <dc:date>2013-05-31T12:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228963#M16829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have got my 2560x1440@30fps mipi camera worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason is ccm_pixel_clk is not enough.&lt;/P&gt;&lt;P&gt;When up the aix_clk_root, it works fine.&lt;/P&gt;&lt;P&gt;I want to know how this value is decided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyone know about this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 04:32:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228963#M16829</guid>
      <dc:creator>GaoJianzhong</dc:creator>
      <dc:date>2013-06-03T04:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228964#M16830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I click on the link above,&amp;nbsp; &lt;A _jive_internal="true" data-containerid="1007" data-containertype="700" data-objectid="94312" data-objecttype="102" href="https://community.nxp.com/docs/DOC-94312"&gt;https://community.freescale.com/docs/DOC-94312&lt;/A&gt;, I am forwarded to an unauthorized page.&amp;nbsp; Is this an internal forum?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 12:33:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228964#M16830</guid>
      <dc:creator>dougschwanke</dc:creator>
      <dc:date>2013-08-02T12:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228965#M16831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find it in the &lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif;"&gt;attachment&lt;/SPAN&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 01:46:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228965#M16831</guid>
      <dc:creator>shaojun_wang</dc:creator>
      <dc:date>2013-08-05T01:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228966#M16832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shaojun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having some troubles displaying both camera at the same time with camera overlay in SABRESD_6DQ board.&lt;/P&gt;&lt;P&gt;I wonder if your post hold the solution somewhere...&lt;/P&gt;&lt;P&gt;1. In [2. SabreSD default setting] you say that &lt;/P&gt;&lt;P&gt;&amp;gt; In SabreSD board, ov5642 is connected to CSI0 parallel port, ov5640_mipi is connected to MIPI CSI port.&lt;/P&gt;&lt;P&gt;How did you find this out? I can't see anywhere which camera i have on my board (we bought from freescale). looking at /dev/video* doesn't give much information, and I tried querying the capabilities in v4l2, but I "name" and "bus_info" are empty!&lt;/P&gt;&lt;P&gt;The only thing I know is that I am able to display each camera separately, if I open only one at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Then you say that "virtual channel 1 should be enabled in camera sensor side"&lt;/P&gt;&lt;P&gt;Do you mean that we should replace "ov5640_set_virtual_channel(ov5640_data.csi)" by "ov5640_set_virtual_channel(1)" ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the post with my original problem:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/310658"&gt;Display both camera with android 4.2.2 on sabresd_6dq (imx6)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am on android, but basically the kernel code seems to be the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 09:56:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228966#M16832</guid>
      <dc:creator>floriang</dc:creator>
      <dc:date>2013-08-08T09:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228967#M16833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Shaojun!&amp;nbsp; This has been a big help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am at the situation with the OV5647 where the MIPI phy seems to be synchronized: the state is 0x300 and both ERR1 and ERR2 registers are 0x0.&amp;nbsp; However, I am not receiving images (ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0).&amp;nbsp; Could this be because of problems on the MIPI bus, or can I rule that out at this point, based on the state and error registers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 22:49:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228967#M16833</guid>
      <dc:creator>davemcmordie</dc:creator>
      <dc:date>2013-08-12T22:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228968#M16834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Dave ~&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have a same problem...&amp;nbsp; I use a 8M camera.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it solve a problem??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 07:37:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228968#M16834</guid>
      <dc:creator>hyunjaejun</dc:creator>
      <dc:date>2013-10-01T07:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228969#M16835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;I am trying to write a custom mipi camera module connect to imx6q sabre lite (nitrogen6q) board.&lt;/P&gt;&lt;P&gt;The custom camera's details are:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sony imx139&lt;/STRONG&gt;, 2 data lanes.&lt;/P&gt;&lt;P&gt;For my mipi camera sensor there is&lt;STRONG&gt; no register to configure virtual channel&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I think what the virtual channel is fixed to 0.&lt;/P&gt;&lt;P&gt;How can I configure CSI and IPU to set virtual channel to 0 in iMX6q side?&lt;/P&gt;&lt;P&gt;in the &lt;STRONG&gt;board-mx6_nitrogen6x.c&lt;/STRONG&gt; I wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;.......&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;mxc_iomux_set_gpr_register(1, 19, 1, 1);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;.......&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;.......&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .ipu = 0,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .csi = 0,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .mclk_source = 0,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .is_mipi = 1,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;},&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;.......&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;It is correct?&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 14:18:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228969#M16835</guid>
      <dc:creator>michaelsadikov</dc:creator>
      <dc:date>2013-10-09T14:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228970#M16836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;H Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now struggling to do the same thing (get the MIPI-&amp;gt;IPU/CSI routing&lt;/P&gt;&lt;P&gt;correct) with my baseboard, having moved on from the Wanboard&lt;/P&gt;&lt;P&gt;configuration.    Here’s what I see in the IMX6Q reference manual, page&lt;/P&gt;&lt;P&gt;1928:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;*&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reset values are 0, 0.  Double check your sensor datasheet for the&lt;/P&gt;&lt;P&gt;virtual channel address, but if it is zero, the default configuration of&lt;/P&gt;&lt;P&gt;the board (GPR1 bit 19 = 0, bit 20 = 0) would have route MIPI virtual&lt;/P&gt;&lt;P&gt;channel 0 to IPU1 CSI0.  On that basis I think you want to do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mxc_iomux_set_gpr_register(1, 19, 1, 0);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as I say I am not having much luck as I make my camera work with a&lt;/P&gt;&lt;P&gt;different baseboard, so I may have this wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From:&lt;/STRONG&gt; Michael Sadikov &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sent:&lt;/STRONG&gt; October-09-13 10:19 AM&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To:&lt;/STRONG&gt; Dave McMordie&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Subject:&lt;/STRONG&gt; Re:  - Some Experience When Enable MIPI Camera&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;https://community.freescale.com/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some Experience When Enable MIPI Camera&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Michael&lt;/P&gt;&lt;P&gt;Sadikov&amp;lt;https://community.freescale.com/people/michaelsadikov?et=watches.email.thread&amp;gt;in&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;i.MX Community&lt;/STRONG&gt; - View the full&lt;/P&gt;&lt;P&gt;discussion&amp;lt;https://community.freescale.com/message/354860?et=watches.email.thread#354860&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 14:28:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228970#M16836</guid>
      <dc:creator>davemcmordie</dc:creator>
      <dc:date>2013-10-09T14:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228971#M16837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael, try to use the patch that is attached at the beginning of this thread. I tried it and it worked fine when I left my mipi camera output on vc=0. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 20:20:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228971#M16837</guid>
      <dc:creator>DraganOstojic</dc:creator>
      <dc:date>2013-10-10T20:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228972#M16838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;I have 4. Virtual channel related question.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="hps"&gt;Related&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;4. Virtual channel&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;community&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;links&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;there is a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;patch&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;sharing&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;MIPI CSI-2&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Parallel.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I &lt;SPAN _mstdst="1_7:11" _mstsrc="1_6:7"&gt;refer&lt;/SPAN&gt; &lt;SPAN _mstdst="1_13:14" _mstsrc="1_8:8"&gt;to&lt;/SPAN&gt; &lt;SPAN _mstdst="1_16:19" _mstsrc="1_0:1"&gt;this&lt;/SPAN&gt; &lt;SPAN _mstdst="1_21:25" _mstsrc="1_2:4"&gt;patch&lt;/SPAN&gt;, &lt;SPAN _mstdst="1_28:35" _mstsrc="1_14:21"&gt;Parallel&lt;/SPAN&gt; &lt;SPAN _mstdst="1_37:39" _mstsrc="1_22:22"&gt;and&lt;/SPAN&gt; &lt;SPAN _mstdst="1_41:44" _mstsrc="1_23:27"&gt;MIPI&lt;/SPAN&gt; &lt;SPAN _mstdst="1_46:50" _mstsrc="1_28:32"&gt;CSI-2&lt;/SPAN&gt; &lt;SPAN _mstdst="1_52:62" _mstsrc="1_37:42"&gt;acquisition&lt;/SPAN&gt; at the &lt;SPAN _mstdst="1_71:74" _mstsrc="1_34:35"&gt;same&lt;/SPAN&gt; &lt;SPAN _mstdst="1_76:79" _mstsrc="1_36:36"&gt;time can be input &lt;/SPAN&gt;? &lt;SPAN _mstdst="1_82:83" _mstsrc="1_49:52"&gt;Or&lt;/SPAN&gt; &lt;SPAN _mstdst="1_85:86" _mstsrc="1_58:59"&gt;be&lt;/SPAN&gt; &lt;SPAN _mstdst="1_88:95" _mstsrc="1_53:56"&gt;switched&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;If&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;that can be achieved for a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;parallel input and MIPI input&lt;/SPAN&gt;,&lt;SPAN class="hps"&gt;Is it&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;may be a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;recognition that&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;can&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;capture&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;both&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;total&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;bandwidth&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is at&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;240MHz&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;or less&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 10:28:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228972#M16838</guid>
      <dc:creator>takashitakahash</dc:creator>
      <dc:date>2013-12-16T10:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228973#M16839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good information wrt csi-mipi camera&lt;/P&gt;&lt;P&gt;i am working with toshiba hdmi-mipi bridge in 2-lane mode with imx-6 (3.10.17 kernel).&lt;/P&gt;&lt;P&gt; i have following error wrt the driver,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0 mipi csi2 dphy status 230&lt;/P&gt;&lt;P&gt;1 mipi csi2 dphy status 230&lt;/P&gt;&lt;P&gt;2 mipi csi2 dphy status 230&lt;/P&gt;&lt;P&gt;3 mipi csi2 dphy status 230&lt;/P&gt;&lt;P&gt;4 mipi csi2 dphy status 230&lt;/P&gt;&lt;P&gt;5 mipi csi2 dphy status 230&lt;/P&gt;&lt;P&gt;6 mipi csi2 dphy status 230&lt;/P&gt;&lt;P&gt;7 mipi csi2 dphy status 230&lt;/P&gt;&lt;P&gt;8 mipi csi2 dphy status 230&lt;/P&gt;&lt;P&gt;9 mipi csi2 dphy status 230&lt;/P&gt;&lt;P&gt;0 mipi csi2 err1 10000010&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using ipu-0, csi-1 (2 lane)&lt;/P&gt;&lt;P&gt;i have observed clock, D0(+/-) D1(+/-) toggling from mipi bridge &lt;/P&gt;&lt;P&gt;but my gstreamer pipeline giving error "ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can somebody help me how to solve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;nagendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 15:01:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228973#M16839</guid>
      <dc:creator>nagendrasarma</dc:creator>
      <dc:date>2015-04-09T15:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228974#M16840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am able to capture image from my hdmi-mipi bridge&lt;/P&gt;&lt;P&gt;but found&amp;nbsp; the image captured is &lt;STRONG&gt;tiled and out of sync&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;can anybody help me how to solve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mipi bridge is giving 422 output, gstreamer capturing in I420 format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;nagendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 11:11:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228974#M16840</guid>
      <dc:creator>nagendrasarma</dc:creator>
      <dc:date>2015-04-14T11:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228975#M16841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I have received ov5640 mipi camera from truly ,I have done the basic i2c initalization&lt;/P&gt;&lt;P&gt;till the point where it shows "camera ov5640_mipi is found"&lt;/P&gt;&lt;P&gt;How further testing of camera module can be done in Android running on Sabresd patform&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 22:01:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228975#M16841</guid>
      <dc:creator>himanshugusain</dc:creator>
      <dc:date>2015-06-24T22:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228976#M16842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi，sarma&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mipi csi2 dphy status 0x230 ,how did you fix this problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 03:54:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228976#M16842</guid>
      <dc:creator>richarddestiny</dc:creator>
      <dc:date>2015-11-30T03:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228977#M16843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Wang and All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am developing V4L2 image sensor driver for a custom sensor. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Platform details are:&lt;/P&gt;&lt;P&gt;Board : HummingBoard-i2eX (i.MX6 Dual)&lt;/P&gt;&lt;P&gt;OS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Ubuntu, Linux Kernel 3.0.35&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sensor details:&lt;/P&gt;&lt;P&gt;1. Supported MIPI lanes : 2 Lane/4 Lane (configured to use 2 lane mode)&lt;/P&gt;&lt;P&gt;2. Supported MIPI data format : RAW 10 /RAW8 (configured to use RAW10)&lt;/P&gt;&lt;P&gt;3. Virtual channel : configured to 0&lt;/P&gt;&lt;P&gt;4. Clock Frequency : 24MHz (This is actually sensor clock, MIPI clock is 114 MHz)&lt;/P&gt;&lt;P&gt;5. Resolution : 1280 x 720&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting error "ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0" for&amp;nbsp; VIDIOC_DQBUF IOCTL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To begin my trouble shooting, I would like to get my below board configuration file modifications reviewed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Sensor details&lt;/P&gt;&lt;P&gt;static struct fsl_mxc_camera_platform_data mipi_csi2_data = {&lt;/P&gt;&lt;P&gt;&amp;nbsp; .mclk = 24000000, // Is this OK ? Or should I put the MIPI clock(114 MHz) here?&lt;/P&gt;&lt;P&gt;&amp;nbsp; .mclk_source = 0, // Does this indicate HB MIPI clock source is sensor?&lt;/P&gt;&lt;P&gt;&amp;nbsp; .csi = 0, // Does this indicate camera sensor is using IPU #1/CSI0 ?&lt;/P&gt;&lt;P&gt;&amp;nbsp; .io_init = mx6q_csi0_io_init, // I use this function to Enable mipi to IPU1 CSI0 (mxc_iomux_set_gpr_register(1, 19, 1, 0))&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since this structure definition doesn't have any documentation, I did not understand the meaning of these parameters. Please explain me these parameters if anybody is aware of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Details of MIPI CSI2 interface&lt;/P&gt;&lt;P&gt;static struct mipi_csi2_platform_data mipi_csi2_pdata = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .ipu_id&amp;nbsp;&amp;nbsp; = 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .csi_id = 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .v_channel = 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .lanes =2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .dphy_clk = "mipi_pllref_clk",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .pixel_clk = "emi_clk",&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Details of capture device*/&lt;/P&gt;&lt;P&gt;static struct fsl_mxc_capture_platform_data capture_data[] = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .csi = 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .ipu = 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .mclk_source = 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .is_mipi = 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, I took these values from another sensor patch, i dont really know what these parameters are :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, assuming that my board configuration is ok, I went ahead with driver debugging. Below are the observations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I2C communication is ok&lt;/P&gt;&lt;P&gt;2. MIPI_CSI_PHY_STATE value is : 630,sometimes 330,300 also (Is this ok or is it indicating any clock related issue?)&lt;/P&gt;&lt;P&gt;3. MIPI_CSI_ERR1/2 both return 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any hints to my issue? Can someone direct me how to proceed with debugging?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am following the document attached in this thread to debug, however I didnt find any apis in mxc_mipi driver to read other registers&lt;/P&gt;&lt;P&gt;(MIPI_CSI_N_LANES ~ MIPI_CSI_DATA_IDS_2). I saw only apis to read MIPI_CSI_PHY_STATE and&amp;nbsp; MIPI_CSI_ERR1/2 registers. Can someone guide me on how to read the other registers (also, IPU registers) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 07:55:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228977#M16843</guid>
      <dc:creator>rejeeshbabu</dc:creator>
      <dc:date>2016-02-04T07:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Some Experience When Enable MIPI Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228978#M16844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;I managed to read those &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;registers mentioned in the debug doc&lt;/SPAN&gt;. One thing I quickly noticed is that, value of&amp;nbsp; IPU1_CONF suggest that CSI0 if IPU1 is disabled (which is what I am trying to use!). Can somebdy let me know how to &lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;enable CSI0 if IPU1 (just writing to this bit from sensor driver is OK?). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;Also, it would be great if&amp;nbsp; someone could check the values of other registers as well and make more suggestions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;MIPI_CSI_N_LANES : 0x 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;MIPI_CSI_PHY_SHUTDOWNZ : 0x 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;MIPI_CSI_DPHY_RSTZ : 0x 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;MIPI_CSI_CSI2_RESETN : 0x 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;MIPI_CSI_PHY_STATE : 0x 630&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;MIPI_CSI_DATA_IDS_1 : 0x 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;MIPI_CSI_DATA_IDS_2 : 0x 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;IPU1_CONF : 0x660&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;IPUx_INT_STAT_1 : 0x800000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;IPUx_CSI0_DI : 0xffffffff&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;IPU1_CSI0_SENS_CONF : 0x 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;IPU1_CSI0_SENS_FRM_SIZE : 0x 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;IPU1_CSI0_ACT_FRM_SIZE : 0x1df027f&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 11:55:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Some-Experience-When-Enable-MIPI-Camera/m-p/228978#M16844</guid>
      <dc:creator>rejeeshbabu</dc:creator>
      <dc:date>2016-02-04T11:55:09Z</dc:date>
    </item>
  </channel>
</rss>

