<?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: IMX8MP MIPI-CSI2 Problems in custom camera in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277355#M174105</link>
    <description>&lt;P&gt;Did you find the reason why csi doesn't create a video device? I just have the same issue. csi is loaded but there is no /dev/video0&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 17 May 2021 05:12:31 GMT</pubDate>
    <dc:creator>MicMoba</dc:creator>
    <dc:date>2021-05-17T05:12:31Z</dc:date>
    <item>
      <title>IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1234225#M169805</link>
      <description>&lt;P&gt;Hi, my name is Victor and I'm in a project where we're trying to send image from a custom 4-lane camera&amp;nbsp;to the IMX8MP (in a imx8mp-evk board) using the MIPI-CSI2 interface but I'm stuck trying to make it work.&lt;/P&gt;&lt;P&gt;I want to modify the ov5640 config and drivers&amp;nbsp;but I'm not sure how many things I have to change. I'm ony interested in make it work sending image, the I2C is not needed&amp;nbsp;at this moment and the camera is conected to the MIPI_CSI_0.&lt;/P&gt;&lt;P&gt;1) Is it enough if I modify the device tree configuration? which parameters do I have to modify? This is the configuration that I'm using:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;imx8mp.dtsi:&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;mipi_csi_0: csi@32e40000 {&lt;BR /&gt;compatible = "fsl,imx8mp-mipi-csi", "fsl,imx8mn-mipi-csi";&lt;BR /&gt;reg = &amp;lt;0x32e40000 0x10000&amp;gt;;&lt;BR /&gt;interrupts = &amp;lt;GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH&amp;gt;;&lt;BR /&gt;clock-frequency = &amp;lt;500000000&amp;gt;;&lt;BR /&gt;clocks = &amp;lt;&amp;amp;clk IMX8MP_CLK_MEDIA_CAM1_PIX&amp;gt;,&lt;BR /&gt;&amp;lt;&amp;amp;clk IMX8MP_CLK_MEDIA_AXI&amp;gt;,&lt;BR /&gt;&amp;lt;&amp;amp;clk IMX8MP_CLK_MEDIA_APB&amp;gt;;&lt;BR /&gt;clock-names = "mipi_clk", "disp_axi", "disp_apb";&lt;BR /&gt;assigned-clocks = &amp;lt;&amp;amp;clk IMX8MP_CLK_MEDIA_CAM1_PIX&amp;gt;;&lt;BR /&gt;assigned-clock-parents = &amp;lt;&amp;amp;clk IMX8MP_SYS_PLL2_1000M&amp;gt;;&lt;BR /&gt;assigned-clock-rates = &amp;lt;500000000&amp;gt;;&lt;BR /&gt;bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;csi-gpr = &amp;lt;&amp;amp;mediamix_gasket0&amp;gt;;&lt;BR /&gt;gpr = &amp;lt;&amp;amp;mediamix_blk_ctl&amp;gt;;&lt;BR /&gt;no-reset-control;&lt;BR /&gt;power-domains = &amp;lt;&amp;amp;mipi_phy1_pd&amp;gt;;&lt;BR /&gt;status = "disabled";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;imx8mp-evk.dts:&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;amp;mipi_csi_0 {&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;status = "okay";&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;port@0 {&lt;BR /&gt;reg = &amp;lt;0&amp;gt;;&lt;BR /&gt;mipi_csi0_ep: endpoint {&lt;BR /&gt;remote-endpoint = &amp;lt;&amp;amp;ov5640_mipi_0_ep&amp;gt;;&lt;BR /&gt;data-lanes = &amp;lt;4&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Do I have to modify the ov5640 driver too? I've located this driver: ov5640_mipi_v2.c but not sure about it&lt;/P&gt;&lt;P&gt;Just modifying the device tree if I try to build a pipe with gstreamer to read from video0 I'm getting this error:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;gst-launch-1.0 -v v4l2src ! "video/x-bayer,format=bggr,width=640,height=480,framerate=30/1" ! bayer2rgb ! videoconvert ! autovideosink sync=false&lt;BR /&gt;Setting pipeline to PAUSED ...&lt;BR /&gt;ERROR: Pipeline doesn't want to pause.&lt;BR /&gt;ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video0' is not a capture device.Additional debug info:&lt;BR /&gt;../../../git/sys/v4l2/v4l2_calls.c(677): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:&lt;BR /&gt;Capabilities: 0x4204000&lt;BR /&gt;Setting pipeline to NULL ...&lt;BR /&gt;Freeing pipeline ...&lt;/P&gt;&lt;P&gt;Also the configuration read from v412-ctl tool is:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;v4l2-ctl --list-devices&lt;BR /&gt;mxc-isi-m2m (platform:32e00000.isi:m2m_devic):&lt;BR /&gt;/dev/video0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;v4l2-ctl --list-formats-ext&lt;BR /&gt;ioctl: VIDIOC_ENUM_FMT&lt;BR /&gt;Type: Video Capture Multiplanar&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;[0]: 'RGBP' (16-bit RGB 5-6-5)&lt;BR /&gt;[1]: 'RGB3' (24-bit RGB 8-8-8)&lt;BR /&gt;[2]: 'BGR3' (24-bit BGR 8-8-8)&lt;BR /&gt;[3]: 'YUYV' (YUYV 4:2:2)&lt;BR /&gt;[4]: 'YUV4' (32-bit A/XYUV 8-8-8-8)&lt;BR /&gt;[5]: 'NV12' (Y/CbCr 4:2:0)&lt;BR /&gt;[6]: 'YM24' (Planar YUV 4:4:4 (N-C))&lt;BR /&gt;[7]: 'XR24' (32-bit BGRX 8-8-8-8)&lt;BR /&gt;[8]: 'AR24' (32-bit BGRA 8-8-8-8)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please any help will be appreciated&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 08:28:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1234225#M169805</guid>
      <dc:creator>v_parri</dc:creator>
      <dc:date>2021-02-22T08:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1237052#M170048</link>
      <description>&lt;P&gt;I just got my imx8mp board, firstly, pls tell me what bsp version you use? let me reproduce this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 06:08:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1237052#M170048</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2021-02-26T06:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1237589#M170117</link>
      <description>&lt;P&gt;Hi, the BSP we're curently using is the 5.4.47.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be appreciated,&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2021 19:50:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1237589#M170117</guid>
      <dc:creator>v_parri</dc:creator>
      <dc:date>2021-02-28T19:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1247872#M171027</link>
      <description>&lt;P&gt;which dts file do you use? did you try to use imx8mp-evk-basler-ov5640.dtb?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 06:58:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1247872#M171027</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2021-03-18T06:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1276891#M174055</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &amp;nbsp;Victor, I have a similar issue.&amp;nbsp; &amp;nbsp; I only have video0, which is on the isi device, not csi,&amp;nbsp;v4l-ctl --all&amp;nbsp; says its driver is mxc-isi-m2m, so despite doing pretty much what you have with&amp;nbsp; imx8mp-evk.dts, the csi device just isnt showing, and neither is yours.&amp;nbsp; The csi device is on 0x32e40000, the isi device on 32e00000, which is what you have in --list-devices.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;So the question is, how to get the csi device to appear. dmesg shows:&lt;BR /&gt;mxc-mipi-csi2-sam&amp;nbsp; &amp;nbsp;32e40000.csi: lanes 1, hs_settle: 22, clck_settle:&amp;nbsp; 0, wclk: 1, freq: 5000000000&amp;nbsp; (my dts changes the values for settle)&lt;/P&gt;&lt;P&gt;So it looks as if the csi device loaded ok, it just isnt creating a&amp;nbsp; videox device.&lt;/P&gt;&lt;P&gt;Any ideas? Its a bit of a mystery.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 08:56:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1276891#M174055</guid>
      <dc:creator>Matt_S</dc:creator>
      <dc:date>2021-05-14T08:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277355#M174105</link>
      <description>&lt;P&gt;Did you find the reason why csi doesn't create a video device? I just have the same issue. csi is loaded but there is no /dev/video0&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 05:12:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277355#M174105</guid>
      <dc:creator>MicMoba</dc:creator>
      <dc:date>2021-05-17T05:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277363#M174106</link>
      <description>&lt;P&gt;No, I didnt yet.&amp;nbsp; Do&amp;nbsp; you know which driver creates the /dev/video device, I was thinking about working back from there and seeing in the code why it is failig.&lt;BR /&gt;&lt;BR /&gt;FYI dmesg looks normal, no errors,&amp;nbsp; but the device is showing as suspended, so adding a power handler to the dts node perhaps?&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 05:28:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277363#M174106</guid>
      <dc:creator>Matt_S</dc:creator>
      <dc:date>2021-05-17T05:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277364#M174107</link>
      <description>&lt;P&gt;I just used the evk dts as a base.&amp;nbsp; Should I use the Hassler one to get the camera working?&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 05:30:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277364#M174107</guid>
      <dc:creator>Matt_S</dc:creator>
      <dc:date>2021-05-17T05:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277366#M174109</link>
      <description>&lt;P&gt;where can you see that the device is suspend? Adding a power handler can be possible&lt;/P&gt;&lt;P&gt;Here is one of the dmesg messages:&amp;nbsp;&lt;/P&gt;&lt;P&gt;mxc_mipi-csi 32e40000.csi: 32e40000.csi supply mipi-phy not found, using dummy regulator&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 05:38:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277366#M174109</guid>
      <dc:creator>MicMoba</dc:creator>
      <dc:date>2021-05-17T05:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277376#M174110</link>
      <description>&lt;P&gt;Yes, I see exactly the same trace.&amp;nbsp; Not sure what it&amp;nbsp; means though.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I dont remember where I saw it sais suspended, somewhere in&amp;nbsp; the file system. I'll try to find where.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 05:49:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277376#M174110</guid>
      <dc:creator>Matt_S</dc:creator>
      <dc:date>2021-05-17T05:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277380#M174111</link>
      <description>&lt;P&gt;From dmesg search the file system for that driver name, 'mxc-mipi-csi2-sam',&amp;nbsp; go to that dir, and follow the hardware address.csi link, in that dir isa power dir, and in there a status.&amp;nbsp; &amp;nbsp; I assume this is the state of the hardware.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 05:52:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277380#M174111</guid>
      <dc:creator>Matt_S</dc:creator>
      <dc:date>2021-05-17T05:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277386#M174112</link>
      <description>&lt;P&gt;Matt what kind of driver do you use for mipi_csi_0?&lt;BR /&gt;I currently use the mxc_mipi_csi driver out of the /driver/media/platform/mxc/capture folder&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;amp;mipi_csi_0&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;compatible = &lt;/SPAN&gt;&lt;SPAN&gt;"fsl,imx8mm-mipi-csi"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 May 2021 06:09:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277386#M174112</guid>
      <dc:creator>MicMoba</dc:creator>
      <dc:date>2021-05-17T06:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277434#M174119</link>
      <description>&lt;P&gt;I have the one set as default in the dtsi file, but in my case I am on the imx8mp board, so it is :&lt;BR /&gt;dsti looks like this:&lt;/P&gt;&lt;P&gt;mipi_csi_0: &lt;A href="mailto:csi@32e40000" target="_blank"&gt;csi@32e40000&lt;/A&gt;&amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; compatible = "fsl,imx8mp-mipi-csi", "fsl, imx8mm-mipi-csi";&lt;/P&gt;&lt;P&gt;...&lt;BR /&gt;&lt;BR /&gt;my dts file doesnt change this, its mipi_csi_0 node just sets it to enabled, and sets a remote enpoint.&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 07:03:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277434#M174119</guid>
      <dc:creator>Matt_S</dc:creator>
      <dc:date>2021-05-17T07:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277453#M174121</link>
      <description>&lt;P&gt;In my origin imx8mp.dtsi the mipi_csi_0 compatible string is:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;compatible = "fsl,imx8mp-mipi-csi", "fsl,imx8mn-mipi-csi";&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;There is no driver for imx8mp-mipi-csi. And if I use the imx8m&lt;U&gt;&lt;STRONG&gt;n&lt;/STRONG&gt;&lt;/U&gt;-mipi-csi I got a kernel crash during boot up. That is the reason why I changed to&amp;nbsp; imx8mm-mipi-csi.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Furthermore I think the suspend state of the driver has something to do with the power management of the kernel. When the device is not use the kernel set it into suspend mode for saving power.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is it possible that there is a link missing between mipi_csi and maybe the isp?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 May 2021 07:31:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277453#M174121</guid>
      <dc:creator>MicMoba</dc:creator>
      <dc:date>2021-05-17T07:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277462#M174123</link>
      <description>&lt;P&gt;I am using the 5.4 kernel, there is an 8mp driver there.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I dont know how this is supposed to fit together, so I cant really comment I am afraid.&amp;nbsp; There could be something missing, there seems to be, but I just dont know. .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 07:52:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277462#M174123</guid>
      <dc:creator>Matt_S</dc:creator>
      <dc:date>2021-05-17T07:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277476#M174125</link>
      <description>&lt;P&gt;I also use the 5.4.70 kernel. Where did you find the driver? When I search for fsl,imx8mp-mipi-csi overall, I only find entries in the imx8mp.dtsi file but nowhere in the drivers section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 08:17:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1277476#M174125</guid>
      <dc:creator>MicMoba</dc:creator>
      <dc:date>2021-05-17T08:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1278377#M174220</link>
      <description>&lt;P&gt;I switch back to the&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;driver imx8m&lt;/SPAN&gt;&lt;U&gt;&lt;STRONG&gt;n&lt;/STRONG&gt;&lt;/U&gt;&lt;SPAN&gt;-mipi-csi (mxc-mipi-csi2-sam) and added to my driver the media entities. And now I can see a video0 device.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;dmesg | grep mipi
[    1.888060] mxc-mipi-csi2-sam 32e40000.csi: 32e40000.csi supply mipi-phy not found, using dummy regulator
[    1.902159] mxc-mipi-csi2-sam 32e40000.csi: lanes: 2, hs_settle: 13, clk_settle: 2, wclk: 1, freq: 500000000
[    2.862258] mx8-img-md: created link [mxc-mipi-csi2.0] =&amp;gt; [mxc_isi.0]
[    2.868710] mx8-img-md: created link [s2d13p04 2-0037] =&amp;gt; [mxc-mipi-csi2.0]
moba@moba-hmi:~$ dmesg | grep video0
[    2.842503] mx8-img-md: Registered mxc_isi.0.capture as /dev/video0&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;I hope that I am step closer to my objective now.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 16:36:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1278377#M174220</guid>
      <dc:creator>MicMoba</dc:creator>
      <dc:date>2021-05-18T16:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1291336#M175416</link>
      <description>&lt;P&gt;What is 'media entities' and how do you add a driver to it?&amp;nbsp; Interesting to see you have a link created, I think this is important, it seems to be the way the device topography is established&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 10:58:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1291336#M175416</guid>
      <dc:creator>Matt_S</dc:creator>
      <dc:date>2021-06-11T10:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1291340#M175417</link>
      <description>&lt;P&gt;Did you get any where with this?&amp;nbsp; &amp;nbsp;It is important to get the capture device functioning.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 11:03:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1291340#M175417</guid>
      <dc:creator>Matt_S</dc:creator>
      <dc:date>2021-06-11T11:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP MIPI-CSI2 Problems in custom camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1291728#M175458</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This is the way I added the media entities:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;v4l2_i2c_subdev_init&lt;/SPAN&gt;&lt;SPAN&gt;(&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;sensor&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;subdev&lt;/SPAN&gt;&lt;SPAN&gt;, i2c_client, &amp;amp;sensor_subdev_ops);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;sensor&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;subdev&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;flags&lt;/SPAN&gt;&lt;SPAN&gt; |= V4L2_SUBDEV_FL_HAS_DEVNODE;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;sensor&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;subdev&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;internal_ops&lt;/SPAN&gt;&lt;SPAN&gt; = &amp;amp;sensor_subdev_internal_ops;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;sensor&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;subdev&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;entity&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt; = MEDIA_ENT_F_CAM_SENSOR;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;sensor&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;subdev&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;entity&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ops&lt;/SPAN&gt;&lt;SPAN&gt; = &amp;amp;sensor_entity_ops;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;sensor-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;pad&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;].&lt;/SPAN&gt;&lt;SPAN&gt;flags&lt;/SPAN&gt;&lt;SPAN&gt; = MEDIA_PAD_FL_SOURCE;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;ret&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;= &lt;/SPAN&gt;&lt;SPAN&gt;media_entity_pads_init&lt;/SPAN&gt;&lt;SPAN&gt;(&amp;amp;sensor&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;subdev&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;entity&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,sensor&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;pad&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You can print out the topology with media-ctl tool&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;media-ctl --print-topology
media-ctl --print-dot &amp;gt; graph.dot
dot -Tpng graph.dot &amp;gt; graph.png&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="graph.png" style="width: 497px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146984iDF113688AE6E5541/image-size/large?v=v2&amp;amp;px=999" role="button" title="graph.png" alt="graph.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Jun 2021 05:39:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-MIPI-CSI2-Problems-in-custom-camera/m-p/1291728#M175458</guid>
      <dc:creator>MicMoba</dc:creator>
      <dc:date>2021-06-14T05:39:24Z</dc:date>
    </item>
  </channel>
</rss>

