<?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: I.MX6S Serial DMA Enable/Disable in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/I-MX6S-Serial-DMA-Enable-Disable/m-p/660805#M101434</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp; You may use dmas and &lt;SPAN class=""&gt;dma-names options as shown in the following :&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.nxp.com/thread/435752"&gt;imx6ul: which are the dma values for the uart1?&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/thread/441835?commentID=865701#comment" title="https://community.nxp.com/message/865701?commentID=865701#comment-865701"&gt;https://community.nxp.com/message/865701&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Have a great day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Yuri&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Note: If this post answers your question, please click the Correct Answer &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Apr 2017 04:19:26 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2017-04-10T04:19:26Z</dc:date>
    <item>
      <title>I.MX6S Serial DMA Enable/Disable</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I-MX6S-Serial-DMA-Enable-Disable/m-p/660803#M101432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm currently fighting an issue in our i.MX6 system.&lt;/P&gt;&lt;P&gt;Our application seems to be losing or missing some expected serial data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I read the documentation provided by NXP (i.MX_Linux_Reference_Manual.pdf), it says that the UART can be configured for DMA or Interrupt access. It says "Each UART can be configured to use DMA for the data transfer by enabling the DMA channel in the DTS file."&lt;/P&gt;&lt;P&gt;When I examine the text file "/linux-2.6-imx/Documentation/devicetree/bindings/serial/fsl-imx-uart.txt", it gives NO information about how to accomplish this.&lt;/P&gt;&lt;P&gt;As far as I can tell, the serial port is using DMA and there's no way to disable it (according to documentation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently working with BSP version 3.14.28.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anybody been able to enable/disable DMA transfers for any serial ports on the i.MX6?&lt;/P&gt;&lt;P&gt;If so, care to share how?&lt;/P&gt;&lt;P&gt;Any other documentation I should be looking at?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;* Freescale i.MX Universal Asynchronous Receiver/Transmitter (UART)&lt;BR /&gt;&lt;BR /&gt;Required properties:&lt;BR /&gt;- compatible : Should be "fsl,&amp;lt;soc&amp;gt;-uart"&lt;BR /&gt;- reg : Address and length of the register set for the device&lt;BR /&gt;- interrupts : Should contain uart interrupt&lt;BR /&gt;&lt;BR /&gt;Optional properties:&lt;BR /&gt;- fsl,uart-has-rtscts : Indicate the uart has rts and cts&lt;BR /&gt;- fsl,irda-mode : Indicate the uart supports irda mode&lt;BR /&gt;- fsl,dte-mode : Indicate the uart works in DTE mode. The uart works&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is DCE mode by default.&lt;BR /&gt;&lt;BR /&gt;Note: Each uart controller should have an alias correctly numbered&lt;BR /&gt;in "aliases" node.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;aliases {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;serial0 = &amp;amp;uart1;&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;uart1: serial@73fbc000 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;compatible = "fsl,imx51-uart", "fsl,imx21-uart";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;reg = &amp;lt;0x73fbc000 0x4000&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;interrupts = &amp;lt;31&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fsl,uart-has-rtscts;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fsl,dte-mode;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 17:13:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I-MX6S-Serial-DMA-Enable-Disable/m-p/660803#M101432</guid>
      <dc:creator>grim</dc:creator>
      <dc:date>2017-04-07T17:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: I.MX6S Serial DMA Enable/Disable</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I-MX6S-Serial-DMA-Enable-Disable/m-p/660804#M101433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After reviewing the driver source, it appears that the Linux Reference manual is incorrect.&lt;/P&gt;&lt;P&gt;I'm not seeing anything in "serial/imx.c" or "dma/imx-sdma.c" that enables/disables serial DMA transfer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 21:54:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I-MX6S-Serial-DMA-Enable-Disable/m-p/660804#M101433</guid>
      <dc:creator>grim</dc:creator>
      <dc:date>2017-04-07T21:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: I.MX6S Serial DMA Enable/Disable</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I-MX6S-Serial-DMA-Enable-Disable/m-p/660805#M101434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp; You may use dmas and &lt;SPAN class=""&gt;dma-names options as shown in the following :&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.nxp.com/thread/435752"&gt;imx6ul: which are the dma values for the uart1?&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/thread/441835?commentID=865701#comment" title="https://community.nxp.com/message/865701?commentID=865701#comment-865701"&gt;https://community.nxp.com/message/865701&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Have a great day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Yuri&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Note: If this post answers your question, please click the Correct Answer &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 04:19:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I-MX6S-Serial-DMA-Enable-Disable/m-p/660805#M101434</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2017-04-10T04:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: I.MX6S Serial DMA Enable/Disable</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I-MX6S-Serial-DMA-Enable-Disable/m-p/660806#M101435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Yuri!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 17:43:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I-MX6S-Serial-DMA-Enable-Disable/m-p/660806#M101435</guid>
      <dc:creator>grim</dc:creator>
      <dc:date>2017-04-10T17:43:24Z</dc:date>
    </item>
  </channel>
</rss>

