<?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: Generic SPI interface for iMX6 SabreSD? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267205#M28081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thanks much, I'll take a look at that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Oct 2013 12:50:36 GMT</pubDate>
    <dc:creator>EdSutter</dc:creator>
    <dc:date>2013-10-16T12:50:36Z</dc:date>
    <item>
      <title>Generic SPI interface for iMX6 SabreSD?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267201#M28077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to build a simple example program that allows me to test connection to &lt;/P&gt;&lt;P&gt;an SPI device I've wired up to my SABRESD.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Unlike I2C (which has /dev/i2c-0, /dev/i2c-1, and /dev/i2c-2), SPI doesn't have&lt;/P&gt;&lt;P&gt;an equivalent nodes in /dev.&amp;nbsp; &lt;/P&gt;&lt;P&gt;It appears to have been built in the kernel tree; however, I don't see any&lt;/P&gt;&lt;P&gt;support for it under /dev.&lt;/P&gt;&lt;P&gt;Has anyone worked with SPI hooked to a device that is not MTD?&lt;/P&gt;&lt;P&gt;What's the trick?&lt;/P&gt;&lt;P&gt;Tx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 21:12:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267201#M28077</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2013-10-07T21:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Generic SPI interface for iMX6 SabreSD?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267202#M28078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="GINGER_SOFATWARE_correct GINGER_SOFATWARE_noSuggestion"&gt;SabreSD&lt;/SPAN&gt;&lt;/SPAN&gt; has a m25p80 &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="GINGER_SOFATWARE_correct"&gt;spi&lt;/SPAN&gt;&lt;/SPAN&gt; flash, you may check the relevant &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="GINGER_SOFATWARE_correct"&gt;struct&lt;/SPAN&gt;&lt;/SPAN&gt; and function in board-mx6q_sabresd&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="GINGER_SOFATWARE_correct"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jacky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 00:50:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267202#M28078</guid>
      <dc:creator>JackyAtFreescal</dc:creator>
      <dc:date>2013-10-15T00:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Generic SPI interface for iMX6 SabreSD?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267203#M28079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for responding.&amp;nbsp; The problem, as far as I can tell, is that code only deals with SPI-flash as MTD partitions.&lt;/P&gt;&lt;P&gt;I need hooks for other SPI devices that will be on one of the ECSPIx controllers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 12:05:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267203#M28079</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2013-10-15T12:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Generic SPI interface for iMX6 SabreSD?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267204#M28080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On imx508 RDP board, MC13892 PMIC is controlled by the SOC through the &lt;SPAN class="GINGER_SOFATWARE_correct"&gt;spi&lt;/SPAN&gt; &lt;SPAN class="GINGER_SOFATWARE_correct"&gt;bus&lt;/SPAN&gt;. The source is arch/arm/mach-mx5/mx50_rdp_pmic_mc13892&lt;SPAN class="GINGER_SOFATWARE_correct"&gt;.&lt;/SPAN&gt;c. That should be an example for the &lt;SPAN class="GINGER_SOFATWARE_correct"&gt;spi&lt;/SPAN&gt; interface coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Jacky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 01:03:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267204#M28080</guid>
      <dc:creator>JackyAtFreescal</dc:creator>
      <dc:date>2013-10-16T01:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Generic SPI interface for iMX6 SabreSD?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267205#M28081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thanks much, I'll take a look at that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 12:50:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267205#M28081</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2013-10-16T12:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Generic SPI interface for iMX6 SabreSD?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267206#M28082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ed, has your question been answered? If yes, please click Corret Answer&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 07:08:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267206#M28082</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2013-10-21T07:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Generic SPI interface for iMX6 SabreSD?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267207#M28083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yixing,&lt;/P&gt;&lt;P&gt;No it hasn't been answered.&amp;nbsp; As a result of me hunting around for this, I've transitioned up to a more up-to-date kernel (3.4.11) and u-boot (u-boot-2013.10).&lt;/P&gt;&lt;P&gt;I now have them both booting; but the SPI-flash interface that used to work in the older u-boot doesn't appear to work (or at least its not working for me at&lt;/P&gt;&lt;P&gt;the moment).&lt;/P&gt;&lt;P&gt;My conclusion at this point is that SPI is not &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;supported very well in this environment; so I'm still digging.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If I do get an answer I will certainly check it off as the correct one.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 12:36:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267207#M28083</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2013-10-21T12:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Generic SPI interface for iMX6 SabreSD?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267208#M28084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is spidev ( &lt;A href="https://www.kernel.org/doc/Documentation/spi/spidev" title="https://www.kernel.org/doc/Documentation/spi/spidev"&gt;https://www.kernel.org/doc/Documentation/spi/spidev&lt;/A&gt; ) what you are looking for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 13:33:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267208#M28084</guid>
      <dc:creator>lategoodbye</dc:creator>
      <dc:date>2013-10-21T13:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Generic SPI interface for iMX6 SabreSD?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267209#M28085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan,&lt;/P&gt;&lt;P&gt;Hi, thanks for responding...&lt;/P&gt;&lt;P&gt;I had read through that briefly prior to taking the shot at the updated kernel/uboot.&lt;/P&gt;&lt;P&gt;The code in spidev_fdx.c didn't give any hint on how the underlying driver is installed or how&lt;/P&gt;&lt;P&gt;to access it. &lt;/P&gt;&lt;P&gt;Note: if its not already obvious I'm still on the steep part of the learning curve regarding&lt;/P&gt;&lt;P&gt;this stuff. I did a reasonable amount of work on 2.4 years ago, but have not kept up.&amp;nbsp; Most of&lt;/P&gt;&lt;P&gt;my embedded work is not with linux, s&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;o &lt;/SPAN&gt;I'm frantically in catch-up mode.&lt;/P&gt;&lt;P&gt;Anyway, I assumed that it would be similar to I2C, where conveniently /dev/i2c-0 and /dev/i2c-2 show up.&lt;/P&gt;&lt;P&gt;Now that I'm a few weeks further into this, I suppose I should go back and reread that.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem at the moment, by the way, is that it appears that in the latest u-boot, the 'sf' command&lt;/P&gt;&lt;P&gt;doesn't work properly for the SABRESD board.&amp;nbsp; Would sure like to know if anyone else has used&lt;/P&gt;&lt;P&gt;this successfully.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 14:44:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267209#M28085</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2013-10-21T14:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Generic SPI interface for iMX6 SabreSD?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267210#M28086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONFIG_SPI_SPIDEV=m&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your Kernel config and the necessary Kernel module avaiable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 14:58:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267210#M28086</guid>
      <dc:creator>lategoodbye</dc:creator>
      <dc:date>2013-10-21T14:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Generic SPI interface for iMX6 SabreSD?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267211#M28087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan,&lt;/P&gt;&lt;P&gt;I have &lt;/P&gt;&lt;P&gt;CONFIG_SPI_IMX_VER_2_3=y&lt;/P&gt;&lt;P&gt;CONFIG_SPI_IMX=y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but not SPIDEV...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hmmm, I'm just realizing (thanks to this discussion) that I've been brain farting a bit...&lt;/P&gt;&lt;P&gt;As I was reading about "spidev" (even weeks back), I was assuming "dev" referred to "development"; &lt;/P&gt;&lt;P&gt;meaning that it was a hook that you could use to debug a SPI interface.&lt;/P&gt;&lt;P&gt;I'm just now realizing (I shouldn't be admitting this publically! :-( ) that the 'dev'&lt;/P&gt;&lt;P&gt;is probably referring to "device"...&amp;nbsp; Ugghh...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yet again, I will refer to myself as an IDIOT (I seem to do that more and more as I get older).&lt;/P&gt;&lt;P&gt;My guess is that this will give &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;me what I need, so I'll dig in with a different perspective.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 15:10:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Generic-SPI-interface-for-iMX6-SabreSD/m-p/267211#M28087</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2013-10-21T15:10:24Z</dc:date>
    </item>
  </channel>
</rss>

