<?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>i.MX ProcessorsのトピックRe: L6.6, sn65dsi83 Error:</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/L6-6-sn65dsi83-Error/m-p/2075943#M236051</link>
    <description />
    <pubDate>Tue, 08 Apr 2025 08:47:15 GMT</pubDate>
    <dc:creator>pavelko</dc:creator>
    <dc:date>2025-04-08T08:47:15Z</dc:date>
    <item>
      <title>L6.6, sn65dsi83 Error:</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/L6-6-sn65dsi83-Error/m-p/2075942#M236050</link>
      <description>&lt;P&gt;I'm trying to make sn65dsi84 dsi2lvds bridge working with Linux kernel 6.6.52 (Yocto scartgap).&lt;/P&gt;&lt;P&gt;After fixing problems with attaching mipi-dsi to SN65DSI83 driver: &lt;A href="https://community.nxp.com/t5/i-MX-Processors/IMX8MM-sn65dsi83-yocto-scarthgap-mipi-dsi-is-not-initialized/m-p/2031234" target="_self"&gt;IMX8MM-sn65dsi83-yocto-scarthgap-mipi-dsi-is-not-initialized&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and correcting LVDS timing parameters in DT: &lt;A href="https://community.nxp.com/t5/i-MX-Processors/imx8mm-L6-6-sn65dsi83-Error-Cannot-find-any-crtc-or-sizes/m-p/2073620" target="_self"&gt;Error-Cannot-find-any-crtc-or-sizes&lt;/A&gt; -&lt;/P&gt;&lt;P&gt;facing another problem: seems that MIPI-DSI is not sending data:&lt;/P&gt;&lt;P&gt;SN65DSI83driver cannot lock PLL because it has DSI source clock.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[    2.946302] sn65dsi83 0-002c: failed to lock PLL, ret=-110&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my devicetree is:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/dts-v1/;

#include "imx8mm.dtsi"

/ {
	panel: panel10inch {
		width-mm = &amp;lt;210&amp;gt;;
		height-mm = &amp;lt;157&amp;gt;;
		compatible = "panel-lvds";
		backlight = &amp;lt;&amp;amp;bl_lcd&amp;gt;;
		data-mapping = "vesa-24";
		status = "okay";
		enable-gpios = &amp;lt;&amp;amp;gpio1 14 GPIO_ACTIVE_HIGH&amp;gt;; 

		panel-timing {
			clock-frequency = &amp;lt;65000000&amp;gt;;
			hactive = &amp;lt;1024&amp;gt;;
			vactive = &amp;lt;768&amp;gt;;
			/* */
			hfront-porch = &amp;lt;40&amp;gt;;
			hsync-len = &amp;lt;60&amp;gt;;
			hback-porch = &amp;lt;220&amp;gt;;
			/* */
			vfront-porch = &amp;lt;7&amp;gt;;
			vsync-len = &amp;lt;10&amp;gt;;
			vback-porch = &amp;lt;21&amp;gt;;
			/* */
			vsync-active = &amp;lt;0&amp;gt;;
			hsync-active = &amp;lt;0&amp;gt;;
			de-active = &amp;lt;1&amp;gt;;
			pixelclk-active = &amp;lt;0&amp;gt;;
		};

		ports {
			#address-cells = &amp;lt;1&amp;gt;;
			#size-cells = &amp;lt;0&amp;gt;;

			port@0 {
				reg = &amp;lt;0&amp;gt;;

				panel_in: endpoint {
					remote-endpoint = &amp;lt;&amp;amp;bridge_out&amp;gt;;
				};
			};
		};
	};
};

&amp;amp;i2c1 {
	dsi_lvds_bridge: sn65dsi84@2c {
		compatible = "ti,sn65dsi83";
		reg = &amp;lt;0x2c&amp;gt;;
		enable-gpios = &amp;lt;&amp;amp;gpio1 12 GPIO_ACTIVE_HIGH&amp;gt;; 
		pinctrl-names = "default";
		pinctrl-0 = &amp;lt;&amp;amp;pinctrl_dsi_bridge&amp;gt;;
		vcc-supply = &amp;lt;&amp;amp;reg_1V8&amp;gt;;
		status = "okay";
		of-depends-on = &amp;lt;&amp;amp;panel&amp;gt;;

		ports {
			#address-cells = &amp;lt;1&amp;gt;;
			#size-cells = &amp;lt;0&amp;gt;;

			port@0 {
				reg = &amp;lt;0&amp;gt;;

				bridge_in: endpoint {
					remote-endpoint = &amp;lt;&amp;amp;mipi_dsi_out&amp;gt;;
					data-lanes = &amp;lt;1 2 3 4&amp;gt;;
				};
			};

			port@2 {
				reg = &amp;lt;2&amp;gt;;

				bridge_out: endpoint {
					remote-endpoint = &amp;lt;&amp;amp;panel_in&amp;gt;;
				};
			};
		};
	};
};

&amp;amp;lcdif {
	status = "okay";
};

&amp;amp;mipi_dsi {
	status = "okay";

	port@1 {
		mipi_dsi_out: endpoint {
			remote-endpoint = &amp;lt;&amp;amp;bridge_in&amp;gt;;
			data-lanes = &amp;lt;1 2 3 4&amp;gt;;
			/*lane-polarities = &amp;lt;1 0 0 0 0&amp;gt;;*/
			attach-bridge;
		};
	};
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bootlog is attached.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 08:46:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/L6-6-sn65dsi83-Error/m-p/2075942#M236050</guid>
      <dc:creator>pavelko</dc:creator>
      <dc:date>2025-04-08T08:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: L6.6, sn65dsi83 Error:</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/L6-6-sn65dsi83-Error/m-p/2075943#M236051</link>
      <description />
      <pubDate>Tue, 08 Apr 2025 08:47:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/L6-6-sn65dsi83-Error/m-p/2075943#M236051</guid>
      <dc:creator>pavelko</dc:creator>
      <dc:date>2025-04-08T08:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: L6.6, sn65dsi83 Error:</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/L6-6-sn65dsi83-Error/m-p/2075981#M236053</link>
      <description>&lt;P&gt;Found strange thing:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.946302] sn65dsi83 0-002c: failed to lock PLL, ret=-110&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.948106] imx_sec_dsim_drv 32e10000.mipi_dsi: imx_sec_dsim_encoder_atomic_enable: Enter&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.951027] sn65dsi83 0-002c: sn65dsi83_atomic_enable: Enter&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.956980] sn65dsi83 0-002c: Unexpected link status 0x01&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The sn65dsi83 probe function pries to lock PLL from MIPI-DSI before imx_sec_dsim_encoder_atomic_enable() function ensbles it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Moved piece of code that sets PLL to sn65dsi83_atomic_enable() function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Works now!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 09:17:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/L6-6-sn65dsi83-Error/m-p/2075981#M236053</guid>
      <dc:creator>pavelko</dc:creator>
      <dc:date>2025-04-08T09:17:05Z</dc:date>
    </item>
  </channel>
</rss>

