<?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のトピックAdd SPI slave support in linux kernel</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Add-SPI-slave-support-in-linux-kernel/m-p/873419#M132633</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;I am using linuxkernel version 4.1.15.&lt;/P&gt;&lt;P&gt;How do i add SPI slave mode support in linuxkernel version 4.1.15?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please share your thoughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanket Parekh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Mar 2019 11:12:56 GMT</pubDate>
    <dc:creator>sanketparekh</dc:creator>
    <dc:date>2019-03-20T11:12:56Z</dc:date>
    <item>
      <title>Add SPI slave support in linux kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Add-SPI-slave-support-in-linux-kernel/m-p/873419#M132633</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;I am using linuxkernel version 4.1.15.&lt;/P&gt;&lt;P&gt;How do i add SPI slave mode support in linuxkernel version 4.1.15?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please share your thoughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanket Parekh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2019 11:12:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Add-SPI-slave-support-in-linux-kernel/m-p/873419#M132633</guid>
      <dc:creator>sanketparekh</dc:creator>
      <dc:date>2019-03-20T11:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Add SPI slave support in linux kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Add-SPI-slave-support-in-linux-kernel/m-p/873420#M132634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanket&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try solutions provided on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://patchwork.kernel.org/patch/9679305/" title="https://patchwork.kernel.org/patch/9679305/"&gt;[RFC,5/5] spi: imx: Add support for SPI Slave mode for imx53 and imx6 chips - Patchwork&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A class="link-titled" href="http://billauer.co.il/blog/2017/08/nxp-freescale-spi-slave/" title="http://billauer.co.il/blog/2017/08/nxp-freescale-spi-slave/"&gt;NXP / Freescale i.MX6 as an SPI slave&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>Thu, 21 Mar 2019 05:27:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Add-SPI-slave-support-in-linux-kernel/m-p/873420#M132634</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-03-21T05:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Add SPI slave support in linux kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Add-SPI-slave-support-in-linux-kernel/m-p/873421#M132635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response. I was going through the code and understanding the things. Can you please help me with the following:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; As&amp;nbsp;CONFIG_SPI_SLAVE is added in kernel from kernel version V4.13-rc1 (&lt;A href="https://elixir.bootlin.com/linux/v4.13-rc1/source/drivers/spi/spi.c" style="color: #6d7dd2; background-color: #111111; font-weight: bold; text-decoration: none; font-size: 0.9em;"&gt;v4.13-rc1&lt;/A&gt;) and I am using the older kernel version V4.1.15 - do I need to add any patch in the kernel (to support the slave mode in the kernel). In case we do have to add patch - can you please share the patch.&lt;/P&gt;&lt;P&gt;2. Can you please help me with the device tree&amp;nbsp;node sample, for making Linux side controller ( ecspi&amp;nbsp;) as the slave&lt;/P&gt;&lt;P&gt;3. Also, once the Linux side controller is the slave, how can an userspace application get an idea, when the data is being received and how to find the amount of data being received&amp;nbsp; &amp;nbsp;- I mean master can send any random amount of data ( I believe&amp;nbsp;MXC_INT_RR is received and&amp;nbsp;mx51_ecspi_rx_available will be called in the driver&amp;nbsp; for every 32 bits data received&amp;nbsp;- is my understanding&amp;nbsp;correct )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Mar 2019 18:14:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Add-SPI-slave-support-in-linux-kernel/m-p/873421#M132635</guid>
      <dc:creator>sanketparekh</dc:creator>
      <dc:date>2019-03-24T18:14:41Z</dc:date>
    </item>
  </channel>
</rss>

