<?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: How to initialize camera driver at u-boot in iMX8MM in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-initialize-camera-driver-at-u-boot-in-iMX8MM/m-p/1639452#M204761</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205891"&gt;@shivam_awasthi&lt;/a&gt;,&lt;/P&gt;
&lt;DIV&gt;I hope you are doing well.&lt;BR /&gt;&lt;BR /&gt;-&amp;gt;Please decide the camera interface which is used by the camera, define a node for it, and set the required properties for it.&lt;BR /&gt;-&amp;gt;Build a dtb file of that dts &amp;amp; then load it into u-boot.&lt;BR /&gt;&lt;BR /&gt;-&amp;gt;Please refer to this Omnivision OV2685 MIPI CSI-2 sensor(Camera Sensor).&lt;/DIV&gt;
&lt;DIV&gt;Example:&lt;/DIV&gt;
&lt;DIV&gt;&amp;amp;i2c7 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; ov2685: camera-sensor@3c {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compatible = "ovti,ov2685";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reg = &amp;lt;0x3c&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pinctrl-names = "default";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;clk_24m_cam&amp;gt;;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; clocks = &amp;lt;&amp;amp;cru SCLK_TESTCLKOUT1&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; clock-names = "xvclk";&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; avdd-supply = &amp;lt;&amp;amp;pp2800_cam&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dovdd-supply = &amp;lt;&amp;amp;pp1800&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dvdd-supply = &amp;lt;&amp;amp;pp1800&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reset-gpios = &amp;lt;&amp;amp;gpio2 3 GPIO_ACTIVE_LOW&amp;gt;;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;port {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ucam_out: endpoint {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;remote-endpoint = &amp;lt;&amp;amp;mipi_in_ucam&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;data-lanes = &amp;lt;1&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;};&lt;BR /&gt;&amp;nbsp; &amp;nbsp;};&lt;BR /&gt;};&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;-&amp;gt;One can take a reference of it to create a node of a camera on the desired interface.&lt;/DIV&gt;
&lt;DIV&gt;Please refer to the below file for more details.&lt;BR /&gt;&lt;STRONG&gt;Documentation/devicetree/&lt;WBR /&gt;bindings/media/i2c/ov2685.txt&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Dhruvit Vasavada&lt;/DIV&gt;</description>
    <pubDate>Tue, 25 Apr 2023 06:25:01 GMT</pubDate>
    <dc:creator>Dhruvit</dc:creator>
    <dc:date>2023-04-25T06:25:01Z</dc:date>
    <item>
      <title>How to initialize camera driver at u-boot in iMX8MM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-initialize-camera-driver-at-u-boot-in-iMX8MM/m-p/1638586#M204666</link>
      <description>&lt;P&gt;Hello...&lt;/P&gt;&lt;P&gt;I want to initialize camera driver in the u-boot device tree, is there any information related to this that how can I achieve&amp;nbsp; this target.&lt;/P&gt;&lt;P&gt;I'm using i.MX8MM V2 board.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 04:44:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-initialize-camera-driver-at-u-boot-in-iMX8MM/m-p/1638586#M204666</guid>
      <dc:creator>shivam_awasthi</dc:creator>
      <dc:date>2023-04-24T04:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to initialize camera driver at u-boot in iMX8MM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-initialize-camera-driver-at-u-boot-in-iMX8MM/m-p/1639452#M204761</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205891"&gt;@shivam_awasthi&lt;/a&gt;,&lt;/P&gt;
&lt;DIV&gt;I hope you are doing well.&lt;BR /&gt;&lt;BR /&gt;-&amp;gt;Please decide the camera interface which is used by the camera, define a node for it, and set the required properties for it.&lt;BR /&gt;-&amp;gt;Build a dtb file of that dts &amp;amp; then load it into u-boot.&lt;BR /&gt;&lt;BR /&gt;-&amp;gt;Please refer to this Omnivision OV2685 MIPI CSI-2 sensor(Camera Sensor).&lt;/DIV&gt;
&lt;DIV&gt;Example:&lt;/DIV&gt;
&lt;DIV&gt;&amp;amp;i2c7 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; ov2685: camera-sensor@3c {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compatible = "ovti,ov2685";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reg = &amp;lt;0x3c&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pinctrl-names = "default";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;clk_24m_cam&amp;gt;;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; clocks = &amp;lt;&amp;amp;cru SCLK_TESTCLKOUT1&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; clock-names = "xvclk";&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; avdd-supply = &amp;lt;&amp;amp;pp2800_cam&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dovdd-supply = &amp;lt;&amp;amp;pp1800&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dvdd-supply = &amp;lt;&amp;amp;pp1800&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; reset-gpios = &amp;lt;&amp;amp;gpio2 3 GPIO_ACTIVE_LOW&amp;gt;;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;port {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ucam_out: endpoint {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;remote-endpoint = &amp;lt;&amp;amp;mipi_in_ucam&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;data-lanes = &amp;lt;1&amp;gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;};&lt;BR /&gt;&amp;nbsp; &amp;nbsp;};&lt;BR /&gt;};&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;-&amp;gt;One can take a reference of it to create a node of a camera on the desired interface.&lt;/DIV&gt;
&lt;DIV&gt;Please refer to the below file for more details.&lt;BR /&gt;&lt;STRONG&gt;Documentation/devicetree/&lt;WBR /&gt;bindings/media/i2c/ov2685.txt&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Dhruvit Vasavada&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 Apr 2023 06:25:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-initialize-camera-driver-at-u-boot-in-iMX8MM/m-p/1639452#M204761</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-04-25T06:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to initialize camera driver at u-boot in iMX8MM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-initialize-camera-driver-at-u-boot-in-iMX8MM/m-p/1642130#M205028</link>
      <description>&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201299"&gt;@Dhruvit&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;I have tried but I want to start camera at U-Boot and display it on the screen using MIPI lanes and frame buffer so we can run the camera within 2-3 sec. is there any solution or guide availabe related to it.</description>
      <pubDate>Fri, 28 Apr 2023 08:31:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-initialize-camera-driver-at-u-boot-in-iMX8MM/m-p/1642130#M205028</guid>
      <dc:creator>shivam_awasthi</dc:creator>
      <dc:date>2023-04-28T08:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to initialize camera driver at u-boot in iMX8MM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-initialize-camera-driver-at-u-boot-in-iMX8MM/m-p/1642623#M205087</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205891"&gt;@shivam_awasthi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;-&amp;gt;For i.MX 8MM EVK has just one Device Tree file available that affects the behavior of the camera connected to the MIPI-CSI connector.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;fsl-imx8mm-evk.dtb&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This camera will be allocated on /dev/video0. In order to test it, use the fsl-imx8mm-evk.dtb in combination with the pipelines below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;gst-launch1.0 v4l2src device=/dev/video0 ! autovideosink&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Please refer to section 4.1. i.MX 8MM EVK Device Tree is available for more details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/imx-processors%40tkb/3405/1/camera_use_cases.pdf" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/imx-processors%2540tkb/3405/1/camera_use_cases.pdf&amp;amp;source=gmail&amp;amp;ust=1683008054605000&amp;amp;usg=AOvVaw3-temMTtsK-kvjqgYAnYbD"&gt;https://community.nxp.com/&lt;WBR /&gt;pwmxy87654/attachments/&lt;WBR /&gt;pwmxy87654/imx-processors%&lt;WBR /&gt;40tkb/3405/1/camera_use_cases.&lt;WBR /&gt;pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please refer to section 6.3.1.4 Menu Configuration Options and section 6.1.2 Omnivision Camera to make sure the menuconfig options are set or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://www.nxp.com/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf&amp;amp;source=gmail&amp;amp;ust=1683008054605000&amp;amp;usg=AOvVaw1kASQJ5MxWRrN8kuPzVSw7"&gt;https://www.nxp.com/docs/en/&lt;WBR /&gt;reference-manual/IMX_&lt;WBR /&gt;REFERENCE_MANUAL.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Dhruvit Vasavada&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 06:57:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-initialize-camera-driver-at-u-boot-in-iMX8MM/m-p/1642623#M205087</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-05-01T06:57:58Z</dc:date>
    </item>
  </channel>
</rss>

