<?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 Using SDMA for I2C on i.MX8M Linux? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Using-SDMA-for-I2C-on-i-MX8M-Linux/m-p/886982#M134332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to use the Linux SDMA driver for I2C communication on a i.MX8MQ (EVK)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see DMA releated code in drivers/i2c/busses/i2c-imx.c. But when booting Linux 4.14.78 I get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;i2c i2c-0: IMX I2C adapter registered&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;i2c i2c-0: can't use DMA, using PIO instead.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I supposed I need to configure the device tree accordingly. But Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt does not mention I2C as possible peripheral type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Apr 2019 08:59:11 GMT</pubDate>
    <dc:creator>steven_scholz</dc:creator>
    <dc:date>2019-04-08T08:59:11Z</dc:date>
    <item>
      <title>Using SDMA for I2C on i.MX8M Linux?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-SDMA-for-I2C-on-i-MX8M-Linux/m-p/886982#M134332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to use the Linux SDMA driver for I2C communication on a i.MX8MQ (EVK)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see DMA releated code in drivers/i2c/busses/i2c-imx.c. But when booting Linux 4.14.78 I get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;i2c i2c-0: IMX I2C adapter registered&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;i2c i2c-0: can't use DMA, using PIO instead.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I supposed I need to configure the device tree accordingly. But Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt does not mention I2C as possible peripheral type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2019 08:59:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-SDMA-for-I2C-on-i-MX8M-Linux/m-p/886982#M134332</guid>
      <dc:creator>steven_scholz</dc:creator>
      <dc:date>2019-04-08T08:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using SDMA for I2C on i.MX8M Linux?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-SDMA-for-I2C-on-i-MX8M-Linux/m-p/886983#M134333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Steven,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately it is not possible since the i2c driver does not allow the Linux SDMA driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2019 14:34:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-SDMA-for-I2C-on-i-MX8M-Linux/m-p/886983#M134333</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2019-04-08T14:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using SDMA for I2C on i.MX8M Linux?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-SDMA-for-I2C-on-i-MX8M-Linux/m-p/886984#M134334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your fast reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What exactly means "the i2c driver does not allow the Linux SDMA Driver"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it supported by hardware, i.e. the i.MX SDMA Controller, but not (yet)&amp;nbsp;by Software, i.e. Linux?&lt;/P&gt;&lt;P&gt;Is there code missing in the driver?&lt;/P&gt;&lt;P&gt;Will there be support in the near future?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a million,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2019 17:12:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-SDMA-for-I2C-on-i-MX8M-Linux/m-p/886984#M134334</guid>
      <dc:creator>steven_scholz</dc:creator>
      <dc:date>2019-04-08T17:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using SDMA for I2C on i.MX8M Linux?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-SDMA-for-I2C-on-i-MX8M-Linux/m-p/886985#M134335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Steven,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apologize if I was confusing you,.&amp;nbsp;&amp;nbsp; The I2C&amp;nbsp; Peripheral Hardware support DMA, but the actual Linux i2c driver available in our BSP does not have the implementation to support this feature, and we do not have plans in the near future to have this implementation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We offer our professional Services in order to customize the driver as your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jaime&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2019 21:59:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-SDMA-for-I2C-on-i-MX8M-Linux/m-p/886985#M134335</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2019-04-08T21:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using SDMA for I2C on i.MX8M Linux?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-SDMA-for-I2C-on-i-MX8M-Linux/m-p/1185177#M165108</link>
      <description>&lt;P&gt;Hi Steven,&lt;/P&gt;&lt;P&gt;the existing DMA code in the i2c-imx driver seems to be related to the DMA engine on i.MX28 (not SDMA).&lt;/P&gt;&lt;P&gt;The existing ROM/RAM routines for SDMA don't have special support for I2C transfers. But I see a chance that this can be done using a custom SDMA script. I plan to work on this in the near future, please let me know if you are still interested.&lt;/P&gt;&lt;P&gt;regards&lt;BR /&gt;Christian&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 11:12:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-SDMA-for-I2C-on-i-MX8M-Linux/m-p/1185177#M165108</guid>
      <dc:creator>ceggers1</dc:creator>
      <dc:date>2020-11-18T11:12:43Z</dc:date>
    </item>
  </channel>
</rss>

