<?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 Integrating custom camera sensor with i.MX8M in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Integrating-custom-camera-sensor-with-i-MX8M/m-p/1279535#M174309</link>
    <description>&lt;P&gt;Hi NXP Team,&lt;/P&gt;&lt;P&gt;I am integrating the sony i.MX219 sensor with i.MX8M Plus. It is a RAW10 and RAW8 sensor, for now we are not targetting ISP and just focusing on capturing raw images.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Some Insights:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;We are using only MIPI lines and I2C lines in our design. There is no other reset, power down or master clock line associated with camera.&lt;/LI&gt;&lt;LI&gt;As the camera is RAW sensor, I have added the support of RAW10 and RAW8 in ISI and MIPI CSI driver. (Changes are in attachment)&lt;/LI&gt;&lt;LI&gt;Using the&amp;nbsp;&lt;STRONG&gt;"mx8_v4l2_cap_drm.out"&lt;/STRONG&gt; utility available in &lt;STRONG&gt;"unit-test/V4L2"&lt;/STRONG&gt; to verify the RAW10/RAW8 dump. It was not supporting RAW10 and RAW8, so I have also modified the utility as well to support RAW format.&amp;nbsp;(Changes are in attachment)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Command used for raw dump:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;./mx8_v4l2_cap_drm.out -cam 1 -d /dev/video1 -num 1 -of -ow 640 -oh 480 -fr 30 -fmt GBRG10&lt;/LI&gt;&lt;LI&gt;./mx8_v4l2_cap_drm.out -cam 1 -d /dev/video1 -num 1 -of -ow 640 -oh 480 -fr 30 -fmt GBRG8&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Attachment:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;dts.txt - Device tree node for sensor and MIPI CSI.&lt;/LI&gt;&lt;LI&gt;imx219_logs.txt - Kernel mipi logs and media-ctl, v4l2 related device information&lt;/LI&gt;&lt;LI&gt;0001-Added-support-of-RAW10-and-RAW8-in-MIPI-CSI-and-ISI.patch - Changes in Kernel Driver&lt;/LI&gt;&lt;LI&gt;0001-Modified-mx8_v4l2_cap_drm-utility-for-adding-RAW-sen.patch - Changes in&amp;nbsp;&lt;STRONG&gt;mx8_v4l2_cap_drm.c&lt;/STRONG&gt; utility.&lt;/LI&gt;&lt;LI&gt;0.GBRG8_480p.raw - Image with RAW8 dump&lt;/LI&gt;&lt;LI&gt;0.GBRG10_480p - Image with RAW10 dump&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In device tree, we have this "csis-hs-settle", "csis-clk-settle" and "csis-wclk" property. Can you please help us in identifying which value should be placed here? I found the Table for mipi clock frequency in forum, however, that was for i.MX7D and not i.MX8MPlus. Can you suggest which value should we keep here?&lt;/LI&gt;&lt;LI&gt;For RAW10 I have modified in ISI and the depth is kept as 16 bit. Is it proper? Is anything needs to be added anywhere in kernel to add support for RAW10/RAW8 sensor apart form the changes I did?&lt;/LI&gt;&lt;LI&gt;From the RAW dump file you can see that out of 480p I am only able to get the 120 lines. Rest of the image lines are totally black. Can it be due to hs-settle configuration?&lt;/LI&gt;&lt;LI&gt;Is the utility appropriate to test the RAW dump, or some other commands/method should be used?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any In-line pointers on above questions will be much helpful, as I am stuck with ISI and looking for suggestions ASAP. Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kunal&lt;/P&gt;</description>
    <pubDate>Thu, 20 May 2021 07:09:41 GMT</pubDate>
    <dc:creator>kunal_003</dc:creator>
    <dc:date>2021-05-20T07:09:41Z</dc:date>
    <item>
      <title>Integrating custom camera sensor with i.MX8M</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Integrating-custom-camera-sensor-with-i-MX8M/m-p/1279535#M174309</link>
      <description>&lt;P&gt;Hi NXP Team,&lt;/P&gt;&lt;P&gt;I am integrating the sony i.MX219 sensor with i.MX8M Plus. It is a RAW10 and RAW8 sensor, for now we are not targetting ISP and just focusing on capturing raw images.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Some Insights:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;We are using only MIPI lines and I2C lines in our design. There is no other reset, power down or master clock line associated with camera.&lt;/LI&gt;&lt;LI&gt;As the camera is RAW sensor, I have added the support of RAW10 and RAW8 in ISI and MIPI CSI driver. (Changes are in attachment)&lt;/LI&gt;&lt;LI&gt;Using the&amp;nbsp;&lt;STRONG&gt;"mx8_v4l2_cap_drm.out"&lt;/STRONG&gt; utility available in &lt;STRONG&gt;"unit-test/V4L2"&lt;/STRONG&gt; to verify the RAW10/RAW8 dump. It was not supporting RAW10 and RAW8, so I have also modified the utility as well to support RAW format.&amp;nbsp;(Changes are in attachment)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Command used for raw dump:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;./mx8_v4l2_cap_drm.out -cam 1 -d /dev/video1 -num 1 -of -ow 640 -oh 480 -fr 30 -fmt GBRG10&lt;/LI&gt;&lt;LI&gt;./mx8_v4l2_cap_drm.out -cam 1 -d /dev/video1 -num 1 -of -ow 640 -oh 480 -fr 30 -fmt GBRG8&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Attachment:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;dts.txt - Device tree node for sensor and MIPI CSI.&lt;/LI&gt;&lt;LI&gt;imx219_logs.txt - Kernel mipi logs and media-ctl, v4l2 related device information&lt;/LI&gt;&lt;LI&gt;0001-Added-support-of-RAW10-and-RAW8-in-MIPI-CSI-and-ISI.patch - Changes in Kernel Driver&lt;/LI&gt;&lt;LI&gt;0001-Modified-mx8_v4l2_cap_drm-utility-for-adding-RAW-sen.patch - Changes in&amp;nbsp;&lt;STRONG&gt;mx8_v4l2_cap_drm.c&lt;/STRONG&gt; utility.&lt;/LI&gt;&lt;LI&gt;0.GBRG8_480p.raw - Image with RAW8 dump&lt;/LI&gt;&lt;LI&gt;0.GBRG10_480p - Image with RAW10 dump&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In device tree, we have this "csis-hs-settle", "csis-clk-settle" and "csis-wclk" property. Can you please help us in identifying which value should be placed here? I found the Table for mipi clock frequency in forum, however, that was for i.MX7D and not i.MX8MPlus. Can you suggest which value should we keep here?&lt;/LI&gt;&lt;LI&gt;For RAW10 I have modified in ISI and the depth is kept as 16 bit. Is it proper? Is anything needs to be added anywhere in kernel to add support for RAW10/RAW8 sensor apart form the changes I did?&lt;/LI&gt;&lt;LI&gt;From the RAW dump file you can see that out of 480p I am only able to get the 120 lines. Rest of the image lines are totally black. Can it be due to hs-settle configuration?&lt;/LI&gt;&lt;LI&gt;Is the utility appropriate to test the RAW dump, or some other commands/method should be used?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any In-line pointers on above questions will be much helpful, as I am stuck with ISI and looking for suggestions ASAP. Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kunal&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 07:09:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Integrating-custom-camera-sensor-with-i-MX8M/m-p/1279535#M174309</guid>
      <dc:creator>kunal_003</dc:creator>
      <dc:date>2021-05-20T07:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating custom camera sensor with i.MX8M</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Integrating-custom-camera-sensor-with-i-MX8M/m-p/1283424#M174625</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After adding the support for RAW in ISI and MIPI driver with some modifications I am able to capture the image. We can close this ticket.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kunal&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 11:17:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Integrating-custom-camera-sensor-with-i-MX8M/m-p/1283424#M174625</guid>
      <dc:creator>kunal_003</dc:creator>
      <dc:date>2021-05-27T11:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating custom camera sensor with i.MX8M</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Integrating-custom-camera-sensor-with-i-MX8M/m-p/1360065#M181969</link>
      <description>&lt;P&gt;Hi kunal,&lt;/P&gt;&lt;P&gt;I'm facing the exact same issue as yours, where the image captured contains only one fourth of the data while the remaining pixel data&amp;nbsp; is completely dark.&lt;/P&gt;&lt;P&gt;can you please share the modifications you made to get proper image.&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;mukesh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 10:54:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Integrating-custom-camera-sensor-with-i-MX8M/m-p/1360065#M181969</guid>
      <dc:creator>mukesh_kumar</dc:creator>
      <dc:date>2021-10-22T10:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Integrating custom camera sensor with i.MX8M</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Integrating-custom-camera-sensor-with-i-MX8M/m-p/1511906#M194290</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/184546"&gt;@kunal_003&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Kunal,&lt;/P&gt;&lt;P&gt;Please help to share the kernel modification you have done later.&lt;/P&gt;&lt;P&gt;I am also facing same problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Prashanth&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 18:39:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Integrating-custom-camera-sensor-with-i-MX8M/m-p/1511906#M194290</guid>
      <dc:creator>prashanthkk</dc:creator>
      <dc:date>2022-08-25T18:39:48Z</dc:date>
    </item>
  </channel>
</rss>

