<?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: iMX8QM: LPSPI DMA not working in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-LPSPI-DMA-not-working/m-p/1062817#M156217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer. The commit you mention is already in that branch I have the linux running on (L5.4.24-2.1.0) plus as I said I also tried to enable the &amp;amp;edma2 node without success.&lt;BR /&gt;&lt;BR /&gt;That is why I think it may be something wrong here.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Aug 2020 07:35:54 GMT</pubDate>
    <dc:creator>philippe_schenk</dc:creator>
    <dc:date>2020-08-26T07:35:54Z</dc:date>
    <item>
      <title>iMX8QM: LPSPI DMA not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-LPSPI-DMA-not-working/m-p/1062815#M156215</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&gt;I noticed that on the new L5.4.24-2.1.0 release the DMA of LPSPI is not working and it is falling back to PIO:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;[    1.533136] fsl_lpspi 5a020000.spi: dma setup error -19, use pio&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I enable the DMA of LPSPI?&lt;BR /&gt;&lt;BR /&gt;I already tried to set status of &amp;amp;edma2 node to "okay" which didn't work&lt;BR /&gt;&lt;BR /&gt;Thanks for your help,&lt;BR /&gt;Philippe Schenker&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2020 11:10:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-LPSPI-DMA-not-working/m-p/1062815#M156215</guid>
      <dc:creator>philippe_schenk</dc:creator>
      <dc:date>2020-08-25T11:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM: LPSPI DMA not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-LPSPI-DMA-not-working/m-p/1062816#M156216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philippe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ona can try MLK-23865 commit&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/commit/?h=imx_5.4.24_2.1.0&amp;amp;id=6f2f0eaaa6de1dcf7d80553116fc8367404dd308" title="https://source.codeaurora.org/external/imx/linux-imx/commit/?h=imx_5.4.24_2.1.0&amp;amp;id=6f2f0eaaa6de1dcf7d80553116fc8367404dd308"&gt;linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2020 23:24:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-LPSPI-DMA-not-working/m-p/1062816#M156216</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-08-25T23:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM: LPSPI DMA not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-LPSPI-DMA-not-working/m-p/1062817#M156217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer. The commit you mention is already in that branch I have the linux running on (L5.4.24-2.1.0) plus as I said I also tried to enable the &amp;amp;edma2 node without success.&lt;BR /&gt;&lt;BR /&gt;That is why I think it may be something wrong here.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2020 07:35:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-LPSPI-DMA-not-working/m-p/1062817#M156217</guid>
      <dc:creator>philippe_schenk</dc:creator>
      <dc:date>2020-08-26T07:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM: LPSPI DMA not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-LPSPI-DMA-not-working/m-p/1155882#M162154</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066" target="_self"&gt;&lt;SPAN class=""&gt;Hi&amp;nbsp; igorpadykov,&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; How can I use spi3 as salve with DMA support at Android P2.3.5 ,kernel viersion is L4.14.98 .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I have try it ,but return error code is -12. When I select CONFIG_SPI_SALVE, error log is below:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;spi_slave&amp;nbsp;spi3:&amp;nbsp;/lpspi@5a030000/spi3@&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;is&amp;nbsp;not&amp;nbsp;called&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'slave'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;spi_slave&amp;nbsp;spi3:&amp;nbsp;Failed&amp;nbsp;to&amp;nbsp;create&amp;nbsp;SPI&amp;nbsp;device&amp;nbsp;for&amp;nbsp;/lpspi@5a030000/spi3@&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 02:00:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-LPSPI-DMA-not-working/m-p/1155882#M162154</guid>
      <dc:creator>smarter</dc:creator>
      <dc:date>2020-09-21T02:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM: LPSPI DMA not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-LPSPI-DMA-not-working/m-p/1156215#M162191</link>
      <description>&lt;P&gt;Hi Philippe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please try to reproduce issue on NXP i.MX8QM MEK board with linux from&lt;/P&gt;&lt;P&gt;source.codeaurora.org/external/imx/linux-imx repository&lt;BR /&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.24_2.1.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.24_2.1.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 10:51:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-LPSPI-DMA-not-working/m-p/1156215#M162191</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-09-21T10:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM: LPSPI DMA not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-LPSPI-DMA-not-working/m-p/1170996#M163813</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your answer and sorry for my long response time. I reproduced this on a i.MX8QM MEK board:&lt;BR /&gt;&lt;BR /&gt;root@imx8qmmek:~# dmesg | grep -i spi&lt;BR /&gt;[ 0.000000] GICv3: 512 SPIs implemented&lt;BR /&gt;[ 0.000000] GICv3: 0 Extended SPIs implemented&lt;BR /&gt;[ 1.533241] fsl_lpspi 5a020000.spi: dma setup error -19, use pio&lt;BR /&gt;root@imx8qmmek:~# dmesg &amp;gt; bootlog_L5.4-2.1.0.txt&lt;BR /&gt;root@imx8qmmek:~# cat /etc/os-release&lt;BR /&gt;ID="fsl-imx-xwayland"&lt;BR /&gt;NAME="NXP i.MX Release Distro"&lt;BR /&gt;VERSION="5.4-zeus (zeus)"&lt;BR /&gt;VERSION_ID="5.4-zeus"&lt;BR /&gt;PRETTY_NAME="NXP i.MX Release Distro 5.4-zeus (zeus)"&lt;/P&gt;&lt;P&gt;Please find the bootlog attached&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 12:27:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-LPSPI-DMA-not-working/m-p/1170996#M163813</guid>
      <dc:creator>philippe_schenk</dc:creator>
      <dc:date>2020-10-21T12:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM: LPSPI DMA not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-LPSPI-DMA-not-working/m-p/1171006#M163815</link>
      <description>&lt;P&gt;Hi philippe_schenk&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NXP has not "L5.4-2.1.0" linux version, probably you are using some third party kernel which&lt;/P&gt;
&lt;P&gt;is not officially supported by NXP.&lt;/P&gt;
&lt;P&gt;Please try to reproduce issue on NXP i.MX8QM MEK board with latest linux&lt;/P&gt;
&lt;P&gt;from official NXP source.codeaurora.org/external/imx repository:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.47_2.2.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.47_2.2.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Documentation:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab" target="_blank"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 12:38:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-LPSPI-DMA-not-working/m-p/1171006#M163815</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-10-21T12:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM: LPSPI DMA not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-LPSPI-DMA-not-working/m-p/1176638#M164381</link>
      <description>&lt;P&gt;Hi Igor&lt;/P&gt;&lt;P&gt;Thanks for your answer. I think you exactly know what I mean with "L5.4-2.1.0" I used the binary from NXP on the MEK.&lt;BR /&gt;&lt;BR /&gt;In the meantime I know that this doesn't happen on 2.2.0 release so it got solved by that release.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Philippe&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 12:15:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-LPSPI-DMA-not-working/m-p/1176638#M164381</guid>
      <dc:creator>philippe_schenk</dc:creator>
      <dc:date>2020-11-02T12:15:01Z</dc:date>
    </item>
  </channel>
</rss>

