<?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: ST7789V usage with iMX91-FRDM</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ST7789V-usage-with-iMX91-FRDM/m-p/2112245#M237969</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251163"&gt;@nvijzendoorn&lt;/a&gt;!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Apparently the driver is not 100% functionality with Linux yet&lt;/P&gt;
&lt;P&gt;Unfortunately we don't provide the driver for that display.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I recommend using the supported display.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Chavira&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jun 2025 17:58:05 GMT</pubDate>
    <dc:creator>Chavira</dc:creator>
    <dc:date>2025-06-06T17:58:05Z</dc:date>
    <item>
      <title>ST7789V usage with iMX91-FRDM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ST7789V-usage-with-iMX91-FRDM/m-p/2109437#M237852</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are doing research for an upcoming project where we are going to integrate the iMX91 with a small st7789v display. Currently we are trying to get the st7789v working with &lt;LI-PRODUCT title="FRDM-i.MX91" id="FRDM-iMX91"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;board. We included the st7789v driver statically into the kernel via the make configuration and we are trying to hook it up to the display-subsystem because that is probably the way to go. (If not another way is fine to)&lt;/P&gt;&lt;P&gt;We do this by the following section from our DTS file which be based of both&amp;nbsp;&lt;STRONG&gt;imx91-11x11-frdm.dts&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;imx91-11x11-frdm-tianma-wvga-panel.dts&lt;/STRONG&gt;&amp;nbsp;combined with this thread &lt;A href="https://community.toradex.com/t/st7789v-tft-display-bring-up-on-colibri-imx7d/19169/22" target="_blank" rel="noopener"&gt;https://community.toradex.com/t/st7789v-tft-display-bring-up-on-colibri-imx7d/19169/22&lt;/A&gt;:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;&amp;amp;lpspi3 {
	fsl,spi-num-chipselects = &amp;lt;1&amp;gt;;
	pinctrl-names = "default", "sleep";
	pinctrl-0 = &amp;lt;&amp;amp;pinctrl_lpspi3&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;pinctrl_lpspi3&amp;gt;;
	cs-gpios = &amp;lt;&amp;amp;gpio2 8 GPIO_ACTIVE_LOW&amp;gt;;
	pinctrl-assert-gpios = &amp;lt;&amp;amp;pcal6408 0 GPIO_ACTIVE_HIGH&amp;gt;;
	status = "okay";

	spidev0: spi@0 {
		reg = &amp;lt;0&amp;gt;;
		compatible = "lwn,bk4";
		spi-max-frequency = &amp;lt;1000000&amp;gt;;
		status = "disabled";
	};

	panel: panel@0 {
		compatible = "sitronix,st7789v";
		
		pinctrl-names = "default";
		pinctrl-0 = &amp;lt;&amp;amp;pinctrl_disp_gpio&amp;gt;;
		
		reg = &amp;lt;0&amp;gt;;
		
		reset-gpios = &amp;lt;&amp;amp;gpio2 24 GPIO_ACTIVE_HIGH&amp;gt;;
		dc-gpios = &amp;lt;&amp;amp;gpio2 22 GPIO_ACTIVE_HIGH&amp;gt;;
		backlight = &amp;lt;&amp;amp;backlight&amp;gt;;
		power-supply = &amp;lt;&amp;amp;reg_vexp_3v3&amp;gt;;
		
		spi-max-frequency = &amp;lt;100000&amp;gt;;
		spi-rx-bus-width = &amp;lt;0&amp;gt;;
		spi-cpol;
		spi-cpha;
		
		width = &amp;lt;240&amp;gt;;
		height = &amp;lt;320&amp;gt;;
		rotate = &amp;lt;270&amp;gt;;
		
		debug = &amp;lt;0x4000000&amp;gt;;
		
		status = "okay";
		
		port {
			panel_in: endpoint {
				remote-endpoint = &amp;lt;&amp;amp;display_out&amp;gt;;
			};
		};
	};
};

&amp;amp;lcdif {
	assigned-clock-rates = &amp;lt;300000000&amp;gt;, &amp;lt;30000000&amp;gt;, &amp;lt;200000000&amp;gt;, &amp;lt;133333333&amp;gt;;
	status = "okay";
	
	lcdif_disp: port {
		#address-cells = &amp;lt;1&amp;gt;;
		#size-cells = &amp;lt;0&amp;gt;;

		display_out: endpoint@2 {
			reg = &amp;lt;2&amp;gt;;
			remote-endpoint = &amp;lt;&amp;amp;panel_in&amp;gt;;
		};
	};
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;lcdif_disp&lt;/STRONG&gt; port is used because this label is used in&amp;nbsp;&lt;STRONG&gt;imx91.dtsi&lt;/STRONG&gt; in the&amp;nbsp;&lt;STRONG&gt;display-subsystem&lt;/STRONG&gt; however if we override this label the following kernel messages disappear:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;[    0.873918] imx-drm display-subsystem: bound imx-lcdifv3-crtc.0 (ops lcdifv3_crtc_ops)
[    0.882305] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 0
[    0.890224] imx-drm display-subsystem: [drm] Cannot find any crtc or sizes&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What would be the proper way to hookup the display to the display-subsystem if possible? And / or how can we get the display up and running with an /dev/fb0 device?&lt;/P&gt;&lt;P&gt;Any help would be highly appreciated.&lt;/P&gt;&lt;P&gt;PS. If it would be easier to use the ili9341&amp;nbsp; this is also an option for us however then we still would like to know how to hookup it up in the device-tree.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using the branch scarthgap of the Yocto project.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 10:22:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ST7789V-usage-with-iMX91-FRDM/m-p/2109437#M237852</guid>
      <dc:creator>nvijzendoorn</dc:creator>
      <dc:date>2025-06-03T10:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: ST7789V usage with iMX91-FRDM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ST7789V-usage-with-iMX91-FRDM/m-p/2109714#M237859</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251163"&gt;@nvijzendoorn&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;Thank you for contacting NXP Support!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try adding the next configs to your kernel:&lt;/P&gt;
&lt;DIV class="scriptor-paragraph"&gt;&lt;LI-CODE lang="markup"&gt;CONFIG_DRM_PANEL_SITRONIX_ST7789V=y
CONFIG_DRM=y
CONFIG_SPI=y
CONFIG_BACKLIGHT_GPIO=y
CONFIG_PWM=y
CONFIG_BACKLIGHT_CLASS_DEVICE=y&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;DIV class="scriptor-paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="scriptor-paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="scriptor-paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="scriptor-paragraph"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;SPAN&gt;&lt;!--ScriptorEndFragment--&gt;&lt;/SPAN&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 17:27:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ST7789V-usage-with-iMX91-FRDM/m-p/2109714#M237859</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2025-06-03T17:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: ST7789V usage with iMX91-FRDM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ST7789V-usage-with-iMX91-FRDM/m-p/2110394#M237891</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206761"&gt;@Chavira&lt;/a&gt;&amp;nbsp;thanks for your response, unfortunately all these configurations where already on so that was not the issue.&lt;/P&gt;&lt;P&gt;Personally I think there is something wrong with my DTS but the iMX platform and the display-subsystem is rather new to me so I'm not sure.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:43:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ST7789V-usage-with-iMX91-FRDM/m-p/2110394#M237891</guid>
      <dc:creator>nvijzendoorn</dc:creator>
      <dc:date>2025-06-04T11:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: ST7789V usage with iMX91-FRDM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ST7789V-usage-with-iMX91-FRDM/m-p/2111321#M237935</link>
      <description>&lt;P&gt;Oké, I got some further. Apparently there is a panel driver for the st7789v but not an tinyDRM driver.&lt;/P&gt;&lt;P&gt;This probably is fixed by merging the following merge request:&lt;BR /&gt;-&amp;nbsp;&lt;A href="https://patchwork.kernel.org/project/dri-devel/patch/20210330080846.116223-1-zhangxuezhi3@gmail.com/" target="_self"&gt;https://patchwork.kernel.org/project/dri-devel/patch/20210330080846.116223-1-zhangxuezhi3@gmail.com/&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;-&amp;nbsp;&lt;A href="https://patchwork.kernel.org/project/dri-devel/patch/20210330081505.116351-1-zhangxuezhi3@gmail.com/" target="_self"&gt;https://patchwork.kernel.org/project/dri-devel/patch/20210330081505.116351-1-zhangxuezhi3@gmail.com/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However to test if this would solve my issue I decided to first check this with an ili9341 since this has an tinyDRM driver build into the kernel. However when I use this by enabling the configurations and define the proper configuration in the DTS:&lt;BR /&gt;- CONFIG_DRM_PANEL_ILITEK_ILI9341=y&lt;BR /&gt;- CONFIG_TINYDRM_ILI9341=y&lt;/P&gt;&lt;P&gt;Now the backlight is functioning normal again. But there is nothing on the screen and I receive errors like this from the kernel:&lt;BR /&gt;[ ..... ] fsl-edma-v3 42000000.dma-controller: Source Address Error interrupt.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Any idea on how to debug this problem would be appreciated. I presume it's from the ili9431 driver, but I cannot find where it tries to flush the framebuffer to the display?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 12:42:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ST7789V-usage-with-iMX91-FRDM/m-p/2111321#M237935</guid>
      <dc:creator>nvijzendoorn</dc:creator>
      <dc:date>2025-06-05T12:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: ST7789V usage with iMX91-FRDM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ST7789V-usage-with-iMX91-FRDM/m-p/2112245#M237969</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251163"&gt;@nvijzendoorn&lt;/a&gt;!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Apparently the driver is not 100% functionality with Linux yet&lt;/P&gt;
&lt;P&gt;Unfortunately we don't provide the driver for that display.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I recommend using the supported display.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 17:58:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ST7789V-usage-with-iMX91-FRDM/m-p/2112245#M237969</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2025-06-06T17:58:05Z</dc:date>
    </item>
  </channel>
</rss>

