<?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: iMX6UL: DMA support for UARTs</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-DMA-support-for-UARTs/m-p/1300252#M176236</link>
    <description>&lt;P&gt;Hi Pier,&lt;/P&gt;&lt;P&gt;I just checked my own kernel sources and recognized that the "SDMA support" for UARTs is also missing here.&lt;/P&gt;&lt;P&gt;In my sources, I have added the dt properties into my board file (and not to imx6ul(l).dtsi). In my opinion, these settings are actually board specific:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Some applications may want NOT to use SDMA for specific peripherals&lt;/LI&gt;&lt;LI&gt;other application (like mine) may want to use alternative SDMA channels are specific channel priorities&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Here is a snipset from my board dts file:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/* UART1 (Debug) */
&amp;amp;uart1 {
    pinctrl-names = "default";
    pinctrl-0 = &amp;lt;&amp;amp;pinctrl_uart1&amp;gt;;
    /* note: imx_startup() will not enable DMA if UART is used as a console */
    /* 4 MCU domain UART */
    /* 5 Shared UART */
    /* 2 Low priority */
    dmas = &amp;lt;&amp;amp;sdma 25 4 2&amp;gt;, &amp;lt;&amp;amp;sdma 26 4 2&amp;gt;;
    dma-names = "rx", "tx";
    status = "okay";
};&lt;/LI-CODE&gt;&lt;P&gt;If you have further (SDMA related) questions, please let me know.&lt;/P&gt;&lt;P&gt;regards&lt;BR /&gt;Christian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jun 2021 08:08:45 GMT</pubDate>
    <dc:creator>ceggers</dc:creator>
    <dc:date>2021-06-30T08:08:45Z</dc:date>
    <item>
      <title>iMX6UL: DMA support for UARTs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-DMA-support-for-UARTs/m-p/1299751#M176196</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;we found that starting from kernel 5.4, DMA support for iMX6UL is no longer available.&lt;BR /&gt;In the previous kernel releases, up to 4.19.xx, it was introduced by &lt;A href="https://source.codeaurora.org/external/imx/linux-imx/commit/arch/arm/boot/dts/imx6ul.dtsi?h=imx_4.19.35_1.1.0&amp;amp;id=933f760118e2d3fb9b0f63fb1e1fb7d92fe7949a" target="_self"&gt;MLK-11300&lt;/A&gt;.&lt;BR /&gt;The attached patch re-enable it again.&lt;BR /&gt;Is the DMA support for UARTs disabled for any specific reason ?&lt;BR /&gt;May the attached patch create any known side effect ?&lt;BR /&gt;Thanks&lt;BR /&gt;Best Regards&lt;BR /&gt;Pier&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 14:05:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-DMA-support-for-UARTs/m-p/1299751#M176196</guid>
      <dc:creator>pierluigi_p</dc:creator>
      <dc:date>2021-06-29T14:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6UL: DMA support for UARTs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-DMA-support-for-UARTs/m-p/1300122#M176220</link>
      <description>&lt;P&gt;Hi Pier,&lt;/P&gt;&lt;P&gt;I use the SDMA with several peripherals (including UARTs) on i.MX6ULL. So of course you can use it. I had an issue when accessing UARTs on the SPBA bus over the SDMA's peripheral bus. But when accessing these (or other) UARTs via the AP bus, everything works fine.&lt;/P&gt;&lt;P&gt;As I don't use the NXP kernels (I work with the stable-rt series), I can only guess which kernel you are actually using. Can you please send a link?&lt;/P&gt;&lt;P&gt;I have made several custom SDMA scripts for getting the best possible functionality and performance out of the peripherals. If this sounds interesting for you, don't hesitate to ask questions.&lt;/P&gt;&lt;P&gt;regards&lt;BR /&gt;Christian&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 05:47:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-DMA-support-for-UARTs/m-p/1300122#M176220</guid>
      <dc:creator>ceggers1</dc:creator>
      <dc:date>2021-06-30T05:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6UL: DMA support for UARTs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-DMA-support-for-UARTs/m-p/1300171#M176225</link>
      <description>&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;you can check any of the 5.x kernel in the official &lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ul.dtsi?h=imx_5.4.70_2.3.0#n1127" target="_self"&gt;NXP kernels&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Please let me know if you need further details.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pier&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 06:49:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-DMA-support-for-UARTs/m-p/1300171#M176225</guid>
      <dc:creator>pierluigi_p</dc:creator>
      <dc:date>2021-06-30T06:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6UL: DMA support for UARTs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-DMA-support-for-UARTs/m-p/1300252#M176236</link>
      <description>&lt;P&gt;Hi Pier,&lt;/P&gt;&lt;P&gt;I just checked my own kernel sources and recognized that the "SDMA support" for UARTs is also missing here.&lt;/P&gt;&lt;P&gt;In my sources, I have added the dt properties into my board file (and not to imx6ul(l).dtsi). In my opinion, these settings are actually board specific:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Some applications may want NOT to use SDMA for specific peripherals&lt;/LI&gt;&lt;LI&gt;other application (like mine) may want to use alternative SDMA channels are specific channel priorities&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Here is a snipset from my board dts file:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/* UART1 (Debug) */
&amp;amp;uart1 {
    pinctrl-names = "default";
    pinctrl-0 = &amp;lt;&amp;amp;pinctrl_uart1&amp;gt;;
    /* note: imx_startup() will not enable DMA if UART is used as a console */
    /* 4 MCU domain UART */
    /* 5 Shared UART */
    /* 2 Low priority */
    dmas = &amp;lt;&amp;amp;sdma 25 4 2&amp;gt;, &amp;lt;&amp;amp;sdma 26 4 2&amp;gt;;
    dma-names = "rx", "tx";
    status = "okay";
};&lt;/LI-CODE&gt;&lt;P&gt;If you have further (SDMA related) questions, please let me know.&lt;/P&gt;&lt;P&gt;regards&lt;BR /&gt;Christian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 08:08:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-DMA-support-for-UARTs/m-p/1300252#M176236</guid>
      <dc:creator>ceggers</dc:creator>
      <dc:date>2021-06-30T08:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6UL: DMA support for UARTs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-DMA-support-for-UARTs/m-p/1300519#M176265</link>
      <description>&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;technically speaking, I can agree with you, but this should apply also to ecspi1/2/3/4 and sai1/2/3 interfaces that do have dma enabled.&lt;/P&gt;&lt;P&gt;A customer that is porting his own changes to any new 5.x kernel (relying on the default settings of kernels 4.x), experiences problems trying to understand why UART DMA support is no longer working.&lt;/P&gt;&lt;P&gt;I'd just like to know if NXP decided to leave the DMA uncofigured/disabled:&lt;/P&gt;&lt;P&gt;- to leave more flexibility&lt;/P&gt;&lt;P&gt;- because the original MLK11300 has been missed&lt;/P&gt;&lt;P&gt;- because there is any kind of side effect with the DMA enabled in kernels 5.x&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pier&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 15:32:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-DMA-support-for-UARTs/m-p/1300519#M176265</guid>
      <dc:creator>pierluigi_p</dc:creator>
      <dc:date>2021-06-30T15:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6UL: DMA support for UARTs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-DMA-support-for-UARTs/m-p/1368474#M182791</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/30116"&gt;@fabio_estevam&lt;/a&gt;can you comment on why DMA was removed from the UARTs on v5.4 BSP?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 09:59:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6UL-DMA-support-for-UARTs/m-p/1368474#M182791</guid>
      <dc:creator>HectorPalacios</dc:creator>
      <dc:date>2021-11-09T09:59:24Z</dc:date>
    </item>
  </channel>
</rss>

