<?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: imx6 capture subsystem in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6-capture-subsystem/m-p/1361428#M182130</link>
    <description>&lt;P&gt;what imx6 processor do you use? refer to the source code, what detailed c file do you mean?&lt;/P&gt;
&lt;P&gt;"&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/media/platform/mxc/capture?h=imx_5.4.70_2.3.0&amp;quot;" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/media/platform/mxc/capture?h=imx_5.4.70_2.3.0"&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;"&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/staging/media/imx?h=imx_5.4.70_2.3.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/staging/media/imx?h=imx_5.4.70_2.3.0&lt;/A&gt;"&lt;/P&gt;</description>
    <pubDate>Tue, 26 Oct 2021 07:36:34 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2021-10-26T07:36:34Z</dc:date>
    <item>
      <title>imx6 capture subsystem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-capture-subsystem/m-p/1360338#M181993</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As I inspected, It seems we have two capture subsystems in NXP Linux kernel, one in drivers/media/platform/mxc/capture (&lt;STRONG&gt;fsl,imx6q-v4l2-capture&lt;/STRONG&gt;) and another one in drivers/staging/media/imx (&lt;STRONG&gt;fsl,imx-capture-subsystem&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;Question1:&lt;/FONT&gt; What is the difference between these two capture subsystems for imx6?&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;Question2:&lt;/FONT&gt; How to use the staging one? is that reliable?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sat, 23 Oct 2021 13:19:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-capture-subsystem/m-p/1360338#M181993</guid>
      <dc:creator>akbar123</dc:creator>
      <dc:date>2021-10-23T13:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 capture subsystem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-capture-subsystem/m-p/1361428#M182130</link>
      <description>&lt;P&gt;what imx6 processor do you use? refer to the source code, what detailed c file do you mean?&lt;/P&gt;
&lt;P&gt;"&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/media/platform/mxc/capture?h=imx_5.4.70_2.3.0&amp;quot;" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/media/platform/mxc/capture?h=imx_5.4.70_2.3.0"&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;"&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/staging/media/imx?h=imx_5.4.70_2.3.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/staging/media/imx?h=imx_5.4.70_2.3.0&lt;/A&gt;"&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 07:36:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-capture-subsystem/m-p/1361428#M182130</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2021-10-26T07:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 capture subsystem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-capture-subsystem/m-p/1361611#M182150</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I use imx6q.&lt;/P&gt;&lt;P&gt;I mean These files: &lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/media/platform/mxc/capture/mxc_v4l2_capture.c?h=imx_5.4.70_2.3.0" target="_self"&gt;old&lt;/A&gt; and &lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/staging/media/imx/imx-media-dev.c?h=imx_5.4.70_2.3.0" target="_self"&gt;new&lt;/A&gt;&lt;/P&gt;&lt;P&gt;By &lt;FONT color="#FF9900"&gt;old&lt;/FONT&gt;, I mean using "v4l2_int_device_register" in slave to introduce itself to bridge driver which is implemented in old file&lt;/P&gt;&lt;P&gt;By &lt;FONT color="#FF9900"&gt;new&lt;/FONT&gt;, I mean using "v4l2_async_register_subdev" in slave to introduce itself to bridge driver via v4l2 async subsystem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I inspected, ov5640 driver introduces itself in two way:&lt;/P&gt;&lt;P&gt;*** The ov5640 driver in drivers/media/platform/mxc/capture uses "v4l2_int_device_register" way&lt;/P&gt;&lt;P&gt;*** The ov5640 driver in drivers/media/i2c uses the "v4l2_async_register_subdev" way&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question: Is my guess right that the &lt;FONT color="#FF9900"&gt;new&lt;/FONT&gt; file intends to implement the bridge driver using Linux async subsystem? hence, can I use the ov5640 driver available in drivers/media/i2c?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 11:01:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-capture-subsystem/m-p/1361611#M182150</guid>
      <dc:creator>akbar123</dc:creator>
      <dc:date>2021-10-26T11:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 capture subsystem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-capture-subsystem/m-p/1362872#M182238</link>
      <description>&lt;P&gt;the old and new files you mentioned are different driver files, if you use imx6q, you just use mxc_v4l2_capture.c as v4l2 capture driver for ov5640, ov5640.c under drivers/media/i2c is for ov5640 camera driver, ov5640.c under drivers/media/platform/mxc/capture is CSI&amp;nbsp; V4L2 driver, you can focus this one&lt;/P&gt;
&lt;P&gt;for more detailed driver information, you also can refer to the linux reference manual&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 03:13:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-capture-subsystem/m-p/1362872#M182238</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2021-10-28T03:13:31Z</dc:date>
    </item>
  </channel>
</rss>

