<?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のトピックimx35 missing sdio interrupt</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx35-missing-sdio-interrupt/m-p/369726#M52750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a product based on imx35, Linux kernel 2.6.31. At times, when doing read/write to the SD card, I am getting the error "mmc0: Timeout waiting for hardware interrupt." &lt;/P&gt;&lt;P&gt;I found that there is an errata on this (ENGcm11186 "eSDHC misses SDIO interrupt when CINT is disabled"). &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Farticle.gmane.org%2Fgmane.linux.kernel.mmc%2F20121" rel="nofollow" target="_blank"&gt;Gmane -- PATCH mmc: sdhci esdhc imx: Fix SDIO interrupts&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the patch, it was mentioned that "Currently SDIO interrupts do not work on i.MX53 &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;and maybe others&lt;/STRONG&gt;&lt;/SPAN&gt;".&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my questions are,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. is this errata applicable to imx35?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Seems the patch for this issue is meant for latest kernels. Can someone help me in applying the patch to the 2.6.31 driver? I have attached the 2.6.31 mx_sdhci.c source.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-335938"&gt;mx_sdhci.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Apr 2015 11:07:49 GMT</pubDate>
    <dc:creator>sudheerd</dc:creator>
    <dc:date>2015-04-01T11:07:49Z</dc:date>
    <item>
      <title>imx35 missing sdio interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx35-missing-sdio-interrupt/m-p/369726#M52750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a product based on imx35, Linux kernel 2.6.31. At times, when doing read/write to the SD card, I am getting the error "mmc0: Timeout waiting for hardware interrupt." &lt;/P&gt;&lt;P&gt;I found that there is an errata on this (ENGcm11186 "eSDHC misses SDIO interrupt when CINT is disabled"). &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Farticle.gmane.org%2Fgmane.linux.kernel.mmc%2F20121" rel="nofollow" target="_blank"&gt;Gmane -- PATCH mmc: sdhci esdhc imx: Fix SDIO interrupts&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the patch, it was mentioned that "Currently SDIO interrupts do not work on i.MX53 &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;and maybe others&lt;/STRONG&gt;&lt;/SPAN&gt;".&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my questions are,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. is this errata applicable to imx35?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Seems the patch for this issue is meant for latest kernels. Can someone help me in applying the patch to the 2.6.31 driver? I have attached the 2.6.31 mx_sdhci.c source.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-335938"&gt;mx_sdhci.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 11:07:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx35-missing-sdio-interrupt/m-p/369726#M52750</guid>
      <dc:creator>sudheerd</dc:creator>
      <dc:date>2015-04-01T11:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: imx35 missing sdio interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx35-missing-sdio-interrupt/m-p/369727#M52751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; As for the question 1. :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt; Strictly speaking, the erratum ENGcm11186 is not specified for i.MX35.&lt;BR /&gt; Nevertheless – why do not try to apply the recommended workaround &lt;BR /&gt; (in any case, it should not influence on normal operations of the i.MX35 too).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&lt;BR /&gt; ---&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;The workaround interrupt service steps are as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;1. Clear CINTIEN bit in IRQSTATEN (CINTSEN) and IRQSIGEN.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;2. Reset the interrupt factors in the SDIO card and write 1 to clear CINT interrupt in IRQSTAT.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;3. Clear and then set D3CD bit in the PROCTL register. Clearing D3CD bit sets the reverse signal&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;of DAT1 to low, even if DAT1 is low. After D3CD bit is re-enabled, the eSDHC can catch the&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;posedge of the reversed DAT1 signal, if the DAT1 line is still low.&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;4. Re-enable CINTIEN bit in IRQSTATEN and IRQSIGEN. &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;---&lt;/SPAN&gt;&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;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Thu, 02 Apr 2015 10:55:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx35-missing-sdio-interrupt/m-p/369727#M52751</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-04-02T10:55:15Z</dc:date>
    </item>
    <item>
      <title>This an automatic process.  We are marking this post as s...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx35-missing-sdio-interrupt/m-p/1136451#M161159</link>
      <description>&lt;B&gt;This an automatic process.&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;
We are marking this post as solved, due to the either low activity or any reply marked as correct.&lt;BR /&gt;&lt;BR /&gt;
If you have additional questions, please create a new post and reference to this closed post.&lt;BR /&gt;&lt;BR /&gt;
NXP Community!</description>
      <pubDate>Thu, 03 Sep 2020 15:37:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx35-missing-sdio-interrupt/m-p/1136451#M161159</guid>
      <dc:creator>CommunityBot</dc:creator>
      <dc:date>2020-09-03T15:37:04Z</dc:date>
    </item>
  </channel>
</rss>

