<?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中的主题 Re: Adding SPI-SLAVE mode to an older kernel version</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Adding-SPI-SLAVE-mode-to-an-older-kernel-version/m-p/1149695#M161330</link>
    <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177587"&gt;@Yavuz&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; look at the following thread, hope it helps.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/ECSPI-slave-mode-support-for-iMX6/m-p/767130#M119124" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/ECSPI-slave-mode-support-for-iMX6/m-p/767130#M119124&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Sep 2020 11:31:14 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2020-09-07T11:31:14Z</dc:date>
    <item>
      <title>Adding SPI-SLAVE mode to an older kernel version</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-SPI-SLAVE-mode-to-an-older-kernel-version/m-p/1149660#M161324</link>
      <description>&lt;P&gt;Hi Everybody,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a few questions related to LINUX SPI concepts and SLAVE MODE implementations.&lt;/P&gt;&lt;P&gt;I am trying to port an IMX6 board to embedded linux by yocto from another operating system. Right now I need to port one SPI SLAVE MODE peripheral and one SPI MASTER MODE peripheral to port.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Linux-imx kernel version is 4.9.88. It is coming from yocto packages released by NXP.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have added 2 spi devices using spidev userspace driver and tested with spidev_test loopback test. On loopback test it seem successful. But both are in SPI MASTR MODE.&lt;/P&gt;&lt;P&gt;When I checked the concepts of SPI on linux I encountered 2 nice videos on youtube&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;A href="https://www.youtube.com/watch?v=tCa_ydVwKhM&amp;amp;list=WL&amp;amp;index=3&amp;amp;t=0s" target="_blank"&gt;https://www.youtube.com/watch?v=tCa_ydVwKhM&amp;amp;list=WL&amp;amp;index=3&amp;amp;t=0s&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=MV8Sy6jGUIE&amp;amp;list=WL&amp;amp;index=2&amp;amp;t=0s" target="_blank"&gt;"https://www.youtube.com/watch?v=MV8Sy6jGUIE&amp;amp;list=WL&amp;amp;index=2&amp;amp;t=0s"&lt;/A&gt;&lt;/P&gt;&lt;P&gt;First one defines slave mode support on linux and later one explains SPI subsystem on Linux kernel.&lt;/P&gt;&lt;P&gt;An far as I understand the SPI slave implementation is in LINUX Kernel.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q1&lt;/STRONG&gt; Is it ready to use for an IMX6 system?&amp;nbsp; If I had a newer version of kernel would it be easily implemented? Is there such an example that works for imx-yocto-bsp for imx6 SPI slave mode?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2&lt;/STRONG&gt; Can I port the SLAVE MODE capability from later kernels to my kernel version 4.9.88? How can i do that?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q3&lt;/STRONG&gt; Is controller driver spi-imx.c used for this purpose? On device tree can i specify spidev as "compatible" parameter? How will spidev userspace driver use spi-imx.c as a control driver? How is the connection between protocol driver (userspace driver) and controller driver is established?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q4&lt;/STRONG&gt; May be is it possible to change my linux-imx version to a kernel that supports spi slave mode functionality? It also needs to be supported by a yocto environment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know these are quite wide and unclear questions but it is so because my mind is also confused on concepts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope to clarify these issues by your answers.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Yavuz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2020 10:09:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-SPI-SLAVE-mode-to-an-older-kernel-version/m-p/1149660#M161324</guid>
      <dc:creator>Yavuz</dc:creator>
      <dc:date>2020-09-07T10:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Adding SPI-SLAVE mode to an older kernel version</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-SPI-SLAVE-mode-to-an-older-kernel-version/m-p/1149695#M161330</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177587"&gt;@Yavuz&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; look at the following thread, hope it helps.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/ECSPI-slave-mode-support-for-iMX6/m-p/767130#M119124" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/ECSPI-slave-mode-support-for-iMX6/m-p/767130#M119124&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2020 11:31:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-SPI-SLAVE-mode-to-an-older-kernel-version/m-p/1149695#M161330</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2020-09-07T11:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding SPI-SLAVE mode to an older kernel version</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-SPI-SLAVE-mode-to-an-older-kernel-version/m-p/1149940#M161375</link>
      <description>&lt;P&gt;Thank You &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/1941"&gt;@Yuri&lt;/a&gt;&amp;nbsp;&amp;nbsp; for your response,&lt;/P&gt;&lt;P&gt;I checked "&lt;A href="https://community.nxp.com/t5/i-MX-Processors/ECSPI-slave-mode-support-for-iMX6/m-p/767130#M119124" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors/ECSPI-slave-mode-support-for-iMX6/m-p/767130#M119124&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;it is definitely the same kind of problem.&lt;/P&gt;&lt;P&gt;But the thread you referred do not explain how to do that?&lt;/P&gt;&lt;P&gt;which files are to be updated for this purpose?&lt;/P&gt;&lt;P&gt;and how can i test it?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 02:24:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-SPI-SLAVE-mode-to-an-older-kernel-version/m-p/1149940#M161375</guid>
      <dc:creator>Yavuz</dc:creator>
      <dc:date>2020-09-08T02:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding SPI-SLAVE mode to an older kernel version</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-SPI-SLAVE-mode-to-an-older-kernel-version/m-p/1150111#M161404</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177587"&gt;@Yavuz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is needed to rebuild the kernel; under Yocto:&lt;/P&gt;
&lt;P&gt;By default it is not supported; the following sequence may be performed for SPIDEV :&lt;/P&gt;
&lt;P&gt;$ bitbake linux-imx -c menuconfig&lt;/P&gt;
&lt;P&gt;# select DEVICE DRIVERS -&amp;gt; SPI Support -&amp;gt; User mode SPI device driver support&lt;/P&gt;
&lt;P&gt;$ bitbake linux-imx&lt;BR /&gt;$ bitbake core-image-minimal&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 06:55:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-SPI-SLAVE-mode-to-an-older-kernel-version/m-p/1150111#M161404</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2020-09-08T06:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Adding SPI-SLAVE mode to an older kernel version</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-SPI-SLAVE-mode-to-an-older-kernel-version/m-p/1163262#M162959</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have decided not to port spi slave support to an older version of kernel but rather switched to a kernel version 5.4.24.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/Which-imx-linux-version-shall-be-selected-for-porting-SPI-SLAVE/m-p/1161140#M162735" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/Which-imx-linux-version-shall-be-selected-for-porting-SPI-SLAVE/m-p/1161140#M162735&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 07:52:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-SPI-SLAVE-mode-to-an-older-kernel-version/m-p/1163262#M162959</guid>
      <dc:creator>Yavuz</dc:creator>
      <dc:date>2020-10-06T07:52:45Z</dc:date>
    </item>
  </channel>
</rss>

