<?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: Adding support for Camera sensor IMX708 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1987041#M230443</link>
    <description>&lt;P&gt;The changes I make to the main dts file I don't think are being applied or something.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I ensure that my changes are being applied?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Nov 2024 12:41:14 GMT</pubDate>
    <dc:creator>gk123</dc:creator>
    <dc:date>2024-11-04T12:41:14Z</dc:date>
    <item>
      <title>Adding support for Camera sensor IMX708</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1982558#M230169</link>
      <description>&lt;P&gt;I am working on adding support for the Raspberry Pi Cam3 IMX708 camera sensor to the imx93 based board provided by Karo, QSBase93.&lt;/P&gt;&lt;P&gt;&lt;A href="https://karo-electronics.github.io/docs/getting-started/qsbase93/quickstart-qsbase93.html" target="_blank"&gt;https://karo-electronics.github.io/docs/getting-started/qsbase93/quickstart-qsbase93.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have followed the following steps to add the driver to the board support package:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Git clone the kernel source code&lt;/LI&gt;&lt;LI&gt;Add imx708.c to the folder drivers/media/i2c&lt;/LI&gt;&lt;LI&gt;Add the sensor in the make file and k config&lt;/LI&gt;&lt;LI&gt;Select the sensor as a module in the menu config&lt;/LI&gt;&lt;LI&gt;Save the config as the new def config&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;For the above I used the below link as a reference&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-change-Linux-Kernel-configuration-file-in-Yocto-Project/ta-p/1112097" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-change-Linux-Kernel-configuration-file-in-Yocto-Project/ta-p/1112097&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am now trying to add the camera sensor to the device tree so I simply added a node for the imx708 sensor in the device tree source file for imx219 which is added as a overlay to the device.&lt;/P&gt;&lt;P&gt;I have attached the modified device tree source file for your reference.&lt;/P&gt;&lt;P&gt;However when I check in the menu config the driver is not included already and the device tree file changes revert to the original state.&lt;/P&gt;&lt;P&gt;Can you please help me figure out how I am to modify the device tree to include the imx708 camera sensor as an inbuilt module?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 02:13:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1982558#M230169</guid>
      <dc:creator>gk123</dc:creator>
      <dc:date>2024-10-28T02:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Adding support for Camera sensor IMX708</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1983435#M230211</link>
      <description>&lt;P&gt;You could add "obj-y += imx708.o" directly in the drivers/media/i2c/Makefile.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 03:21:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1983435#M230211</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2024-10-29T03:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Adding support for Camera sensor IMX708</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1984037#M230254</link>
      <description>&lt;P&gt;Thankyou for your reply!&lt;/P&gt;&lt;P&gt;I added a node for the imx708 in the dts file for the baseboard instead of the overlay for imx219.&lt;/P&gt;&lt;P&gt;I am using the same pins that are mentioned for imx219 in the dts file I attached earlier.&lt;/P&gt;&lt;P&gt;I get an error regarding the probe function that it is deferred. This is the error I get when I do not apply the imx219 overlay.&lt;/P&gt;&lt;P&gt;When I do apply the overlay then I get an error regarding the regulators&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt; &lt;SPAN&gt;0.398679] imx708 1-001a: supply VANA1 not found, using dummy regulator&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt; &lt;SPAN&gt;0.398806] imx708 1-001a: supply VANA2 not found, using dummy regulator&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt; &lt;SPAN&gt;0.398949] imx708 1-001a: supply VDDL not found, using dummy regulator&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am unable to understand what the issue might be. Is it possible I missed out on something?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 17:21:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1984037#M230254</guid>
      <dc:creator>gk123</dc:creator>
      <dc:date>2024-10-29T17:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Adding support for Camera sensor IMX708</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1986792#M230418</link>
      <description>&lt;P&gt;So, you remove the VANA, VDIG, VDDL supply setting in imx219?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 07:10:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1986792#M230418</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2024-11-04T07:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding support for Camera sensor IMX708</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1987039#M230442</link>
      <description>&lt;P&gt;Yes I tried removing the regulators declarations and the assignment for the imx219 sensor.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I removed all the pin configurations as well. But only the 1.1V regulator is found and the rest are not being set.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried declaring regulators with different names as well just incase there was conflict as the regulators in the imx219 overlay had the same name but I got the same error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything I might be missing out in the dts?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 12:36:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1987039#M230442</guid>
      <dc:creator>gk123</dc:creator>
      <dc:date>2024-11-04T12:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding support for Camera sensor IMX708</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1987041#M230443</link>
      <description>&lt;P&gt;The changes I make to the main dts file I don't think are being applied or something.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I ensure that my changes are being applied?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 12:41:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1987041#M230443</guid>
      <dc:creator>gk123</dc:creator>
      <dc:date>2024-11-04T12:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding support for Camera sensor IMX708</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1987492#M230467</link>
      <description>&lt;P&gt;After you change the dts file, you re-compile the code again.&amp;nbsp; Then the new dtb file come out. Then you copy the dtb file to the FAT partition. For example, when you board boot up, there is a folder something like "mmcblk#p1" (where # is a number for different SDHC device SD card or EMMC) under /run/media/. This is the emmc's FAT partition mounted to the system. You could copy the new dtb file to there to replace the old one.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 02:01:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1987492#M230467</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2024-11-05T02:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding support for Camera sensor IMX708</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1988559#M230553</link>
      <description>&lt;P&gt;Thankyou for your reply! I couldn't find the directory you mentioned but managed to apply changes to the dts file using devtool.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue regarding the supply regulators is solved however the camera is not being detected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I keep getting the following error in the dmesg log&lt;/P&gt;&lt;P&gt;imx708 1 -001a: failed to read chip id 708&lt;/P&gt;&lt;P&gt;imx708 : probe of 1 -001a failed with error -5&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 07:17:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1988559#M230553</guid>
      <dc:creator>gk123</dc:creator>
      <dc:date>2024-11-06T07:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding support for Camera sensor IMX708</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1988663#M230559</link>
      <description>&lt;P&gt;Seems it cannot read the register of IMX708 via I2C. You may check the pins connection, I2C signals, power supply to IMX708, etc..&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 08:47:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1988663#M230559</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2024-11-06T08:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding support for Camera sensor IMX708</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1991493#M230697</link>
      <description>&lt;P&gt;I checked the connections and they seem to be right.&amp;nbsp; I am using the same pins that were mentioned for the imx219 camera.&lt;BR /&gt;I have attached the dts file for your reference.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 02:26:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1991493#M230697</guid>
      <dc:creator>gk123</dc:creator>
      <dc:date>2024-11-11T02:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding support for Camera sensor IMX708</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1993262#M230791</link>
      <description>&lt;P&gt;You have separate two &amp;amp;lpi2c2.&amp;nbsp; It is better to put them together.&lt;/P&gt;
&lt;P&gt;&amp;amp;lpi2c2 {&lt;/P&gt;
&lt;P&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;&lt;BR /&gt;clock-frequency = &amp;lt;400000&amp;gt;;&lt;BR /&gt;pinctrl-names = "default", "gpio";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_lpi2c2&amp;gt;;&lt;BR /&gt;pinctrl-1 = &amp;lt;&amp;amp;pinctrl_lpi2c2_gpio&amp;gt;;&lt;BR /&gt;scl-gpios = &amp;lt;&amp;amp;gpio1 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)&amp;gt;;&lt;BR /&gt;sda-gpios = &amp;lt;&amp;amp;gpio1 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)&amp;gt;;&lt;BR /&gt;status = "okay";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;imx708: sensor@1a {&lt;BR /&gt;compatible = "sony,imx708";&lt;BR /&gt;reg = &amp;lt;0x1a&amp;gt;;&lt;BR /&gt;pinctrl-names = "default";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_imx708_reset&amp;gt;;&lt;BR /&gt;reset-gpios = &amp;lt;&amp;amp;gpio4 27 GPIO_ACTIVE_HIGH&amp;gt;;&lt;BR /&gt;clock-names = "xclk";&lt;BR /&gt;clocks = &amp;lt;&amp;amp;clk IMX93_CLK_24M&amp;gt;;&lt;BR /&gt;assigned-clocks = &amp;lt;&amp;amp;clk IMX93_CLK_24M&amp;gt;;&lt;BR /&gt;assigned-clock-rates = &amp;lt;24000000&amp;gt;;&lt;BR /&gt;csi_id = &amp;lt;0&amp;gt;;&lt;BR /&gt;VANA1-supply = &amp;lt;&amp;amp;reg_2v8&amp;gt;; /* 2.8v */&lt;BR /&gt;VANA2-supply = &amp;lt;&amp;amp;reg_1v8&amp;gt;; /* 1.8v */&lt;BR /&gt;VDIG-supply = &amp;lt;&amp;amp;reg_1v1&amp;gt;; /* 1.1v */&lt;BR /&gt;VDDL-supply = &amp;lt;&amp;amp;reg_1v8&amp;gt;; /* 1.8v */&lt;/P&gt;
&lt;P&gt;rotation = &amp;lt;180&amp;gt;;&lt;BR /&gt;orientation = &amp;lt;2&amp;gt;;&lt;BR /&gt;&lt;BR /&gt;mclk = &amp;lt;24000000&amp;gt;;&lt;BR /&gt;mclk_source = &amp;lt;0&amp;gt;;&lt;BR /&gt;mipi_csi;&lt;BR /&gt;status = "okay";&lt;/P&gt;
&lt;P&gt;port {&lt;BR /&gt;imx708_out: endpoint {&lt;BR /&gt;remote-endpoint = &amp;lt;&amp;amp;mipi_csi_in&amp;gt;;&lt;BR /&gt;data-lanes = &amp;lt;1 2&amp;gt;;&lt;BR /&gt;clock-noncontinuous;&lt;BR /&gt;link-frequencies = /bits/ 64 &amp;lt;450000000&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;};&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 02:46:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1993262#M230791</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2024-11-13T02:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Adding support for Camera sensor IMX708</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1993346#M230793</link>
      <description>&lt;P&gt;Thankyou for your reply I got the camera working!&lt;/P&gt;&lt;P&gt;The camera however requires a library libcap.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am unable to include the library in the Yocto build. I&amp;nbsp;&lt;SPAN&gt;tried adding&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;IMAGE_INSTALL:append = " libcap"&lt;BR /&gt;The recipe is including the library in the rootfs image.&lt;BR /&gt;Is there anything else required that I might be missing?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 05:08:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1993346#M230793</guid>
      <dc:creator>gk123</dc:creator>
      <dc:date>2024-11-13T05:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Adding support for Camera sensor IMX708</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1993401#M230798</link>
      <description>&lt;P&gt;Adding the IMAGE_INSTALL:append = " libcap" in the conf/local.conf. And then build your whole image again.&amp;nbsp; Do you find the library in your target board's rootfs?&lt;/P&gt;
&lt;P&gt;There is recipe for libcap in the sources/poky/meta/recipes-support/libcap/. You may check do_install that where is the library install to the rootfs.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 06:41:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1993401#M230798</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2024-11-13T06:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Adding support for Camera sensor IMX708</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1993639#M230810</link>
      <description>&lt;P&gt;The device is detected and registered however in the i2c adapter it is shown as uu in the address 1a and pm_runtime_enable unbalanced error is shown.&lt;/P&gt;&lt;P&gt;Is there any change in the driver code I might be missing?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 10:44:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/1993639#M230810</guid>
      <dc:creator>gk123</dc:creator>
      <dc:date>2024-11-13T10:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding support for Camera sensor IMX708</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/2030536#M233122</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would be interested to know if you have got the imx708 Camera running.&lt;BR /&gt;I am also trying to get the camera running, unfortunately with no success.&lt;/P&gt;&lt;P&gt;I am using the sensor driver from the RPI kernel.&lt;/P&gt;&lt;P&gt;I have defined the following nodes in the devicetree:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;&amp;amp;lpi2c2 {
	clock-frequency = &amp;lt;400000&amp;gt;;
	imx708: camera-sensor@1a {
		compatible = "sony,imx708";
		reg = &amp;lt;0x1a&amp;gt;;

		clocks = &amp;lt;&amp;amp;clk IMX93_CLK_24M&amp;gt;;
		clock-names = "inclk";
		assigned-clocks = &amp;lt;&amp;amp;clk IMX93_CLK_CAM_PIX&amp;gt;,
					&amp;lt;&amp;amp;clk IMX93_CLK_MIPI_PHY_CFG&amp;gt;;
		assigned-clock-parents = &amp;lt;&amp;amp;clk IMX93_CLK_VIDEO_PLL&amp;gt;,
						&amp;lt;&amp;amp;clk IMX93_CLK_24M&amp;gt;;
		assigned-clock-rates = &amp;lt;140000000&amp;gt;, &amp;lt;24000000&amp;gt;;

		reset-gpios = &amp;lt;&amp;amp;expander 14 GPIO_ACTIVE_HIGH&amp;gt;;

		port {
			imx708_ep: endpoint {
				remote-endpoint = &amp;lt;&amp;amp;csi_ep&amp;gt;;
				data-lanes = &amp;lt;1 2&amp;gt;;
				clock-noncontinuous;
				link-frequencies = /bits/ 64 &amp;lt;450000000&amp;gt;;
			};
		};
	};
};

&amp;amp;cameradev {
	status = "okay";
};

&amp;amp;isi_0 {
	status = "okay";

	cap_device {
		status = "okay";
	};
};

&amp;amp;mipi_csi {
	status = "okay";
	port {
		csi_ep: endpoint {
			remote-endpoint = &amp;lt;&amp;amp;imx708_ep&amp;gt;;
			data-lanes = &amp;lt;2&amp;gt;;
			cfg-clk-range = &amp;lt;28&amp;gt;;
			hs-clk-range = &amp;lt;0x29&amp;gt;;
			bus-type = &amp;lt;4&amp;gt;;
		};
	};
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The sensor driver is also successfully probed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;[    1.905972] imx708 1-001a: supply vana1 not found, using dummy regulator
[    1.911470] imx708 1-001a: supply vana2 not found, using dummy regulator
[    1.916901] imx708 1-001a: supply vdig not found, using dummy regulator
[    1.922229] imx708 1-001a: supply vddl not found, using dummy regulator
[    1.937442] imx708 1-001a: camera module ID 0x0301&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Missing function definitions had to be added to the sensor driver so that a link between ISI -&amp;gt; Mipi-CSI -&amp;gt; and sensor device can be established:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;diff --git a/drivers/media/i2c/imx708.c b/drivers/media/i2c/imx708.c
index 29b1d4479c..17f5877487 100644
--- a/drivers/media/i2c/imx708.c
+++ b/drivers/media/i2c/imx708.c
@@ -6,6 +6,8 @@
  * Based on Sony imx477 camera driver
  * Copyright (C) 2020 Raspberry Pi Ltd
  */
+
+#define DEBUG 1
 #include &amp;lt;asm/unaligned.h&amp;gt;
 #include &amp;lt;linux/clk.h&amp;gt;
 #include &amp;lt;linux/delay.h&amp;gt;
@@ -1752,9 +1754,15 @@ static int imx708_identify_module(struct imx708 *imx708)
 	return 0;
 }
 
+static int imx708_s_power(struct v4l2_subdev *sd, int on)
+{
+	return 0;
+}
+
 static const struct v4l2_subdev_core_ops imx708_core_ops = {
 	.subscribe_event = v4l2_ctrl_subdev_subscribe_event,
 	.unsubscribe_event = v4l2_event_subdev_unsubscribe,
+	.s_power = imx708_s_power,
 };
 
 static const struct v4l2_subdev_video_ops imx708_video_ops = {
@@ -1972,6 +1980,18 @@ static int imx708_check_hwcfg(struct device *dev, struct imx708 *imx708)
 	return ret;
 }
 
+
+static int imx708_link_setup(struct media_entity *entity,
+			      const struct media_pad *local,
+			      const struct media_pad *remote, u32 flags)
+{
+	return 0;
+}
+
+static const struct media_entity_operations imx708_sd_media_ops = {
+	.link_setup = imx708_link_setup,
+};
+
 static int imx708_probe(struct i2c_client *client)
 {
 	struct device *dev = &amp;amp;client-&amp;gt;dev;
@@ -2038,6 +2058,7 @@ static int imx708_probe(struct i2c_client *client)
 	imx708-&amp;gt;sd.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE |
 			    V4L2_SUBDEV_FL_HAS_EVENTS;
 	imx708-&amp;gt;sd.entity.function = MEDIA_ENT_F_CAM_SENSOR;
+	imx708-&amp;gt;sd.entity.ops = &amp;amp;imx708_sd_media_ops;
 
 	/* Initialize source pads */
 	imx708-&amp;gt;pad[IMAGE_PAD].flags = MEDIA_PAD_FL_SOURCE;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The media driver reports this when booting:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;[    2.337659] mxc-md 42800000.bus:camera: subdev_notifier_complete
[    2.337664] mxc-md 42800000.bus:camera: mxc_isi.0 entity is found
[    2.337668] mxc-md 42800000.bus:camera: mxc_isi.0.capture entity is found
[    2.337673] mx8-img-md: created link [mxc_isi.0] =&amp;gt; [mxc_isi.0.capture]
[    2.342989] mxc-md 42800000.bus:camera: mxc_isi.0 entity is found
[    2.342994] mxc-md 42800000.bus:camera: mxc-mipi-csi2.0 entity is found
[    2.342999] mx8-img-md: created link [mxc-mipi-csi2.0] =&amp;gt; [mxc_isi.0]
[    2.348128] mxc-md 42800000.bus:camera: mxc-mipi-csi2.0 entity is found
[    2.348133] mx8-img-md: created link [imx708] =&amp;gt; [mxc-mipi-csi2.0]
[    2.353009] mxc-md 42800000.bus:camera: mxc_md_create_links&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The device nodes /dev/video0 and /dev/media0 were also created.&lt;BR /&gt;&lt;BR /&gt;however, as soon as i try to get an image with gst-launch and v4l2src, the pipeline is cancelled.&lt;BR /&gt;The cause becomes clear through dmesg:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;mxc_isi.0: set remote fmt fail!&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A set_fmt() function of the src device is called in the mxc_isi driver. In this case, the set_fmt function of the mxc-mipi-csi2 driver. This returns -EINVAL when called.&lt;/P&gt;&lt;P&gt;I would be interested to know which changes are still necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 09:45:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/2030536#M233122</guid>
      <dc:creator>csenatore</dc:creator>
      <dc:date>2025-01-20T09:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding support for Camera sensor IMX708</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/2031597#M233207</link>
      <description>&lt;P&gt;Unfortunately I was unable to get the camera to work.&amp;nbsp; The camera did start however no data was being captured and it always created a 0 byte jpg file. I have attached my &lt;SPAN&gt;g streamer-launch&lt;/SPAN&gt; logs below&lt;/P&gt;&lt;P&gt;I would suggest checking&amp;nbsp;the supported formats by reviewing your ISI driver (drivers/media/platform/NXP/IMX-ISI) and your sensor driver.&lt;/P&gt;&lt;P&gt;I did have to define one of the formats in the driver as it was not mentioned in the code. I came across a patch that mentioned the definition of the value.&lt;/P&gt;&lt;P&gt;Also consider cross checking the frequencies in the device tree and the requirements of the imx708 sensor.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;BR /&gt;If you do get the camera do let me know.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 16:29:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-support-for-Camera-sensor-IMX708/m-p/2031597#M233207</guid>
      <dc:creator>gk123</dc:creator>
      <dc:date>2025-01-21T16:29:24Z</dc:date>
    </item>
  </channel>
</rss>

