<?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: ecspi2 probed but spidev module is not present in /dev</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ecspi2-probed-but-spidev-module-is-not-present-in-dev/m-p/1027515#M151795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rutuja&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i.MX8M spidev one can try steps described on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.emcraft.com/som/imx-8m/accessing-spi-devices-in-linux" title="https://www.emcraft.com/som/imx-8m/accessing-spi-devices-in-linux"&gt;Accessing SPI Devices in Linux&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://variwiki.com/index.php?title=DART-MX8M_SPI" title="http://variwiki.com/index.php?title=DART-MX8M_SPI"&gt;http://variwiki.com/index.php?title=DART-MX8M_SPI&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>Sun, 15 Mar 2020 23:03:01 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2020-03-15T23:03:01Z</dc:date>
    <item>
      <title>ecspi2 probed but spidev module is not present in /dev</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ecspi2-probed-but-spidev-module-is-not-present-in-dev/m-p/1027514#M151794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For imx8mmevk, I have edited&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. dts file as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&amp;amp;ecspi2 {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;fsl,spi-num-chipselects = &amp;lt;1&amp;gt;; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;cs-gpios = &amp;lt;0&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;pinctrl-names = "default";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_ecspi2&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;status = "okay";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;spidev@0x00 {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;compatible = "spidev";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;spi-max-frequency = &amp;lt;10000000&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;spi-cs-high;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;reg = &amp;lt;0&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;};&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;pinctrl_ecspi2: ecspi2grp {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;fsl,pins = &amp;lt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;MX8MM_IOMUXC_ECSPI2_MISO_ECSPI2_MISO 0x00000116&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;MX8MM_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI 0x00000116&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0x00001916&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;MX8MM_IOMUXC_ECSPI2_SS0_ECSPI2_SS0 0x00000116&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. dsti file is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;ecspi2: ecspi@30830000 {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt; #address-cells = &amp;lt;1&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt; #size-cells = &amp;lt;0&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt; compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt; reg = &amp;lt;0x0 0x30830000 0x0 0x10000&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt; interrupts = &amp;lt;GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt; clocks = &amp;lt;&amp;amp;clk IMX8MM_CLK_ECSPI2_ROOT&amp;gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt; &amp;lt;&amp;amp;clk IMX8MM_CLK_ECSPI2_ROOT&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt; clock-names = "ipg", "per";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;dmas = &amp;lt;&amp;amp;sdma1 2 7 1&amp;gt;, &amp;lt;&amp;amp;sdma1 3 7 2&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;dma-names = "rx", "tx";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;status = "disabled";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt; };&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3. defconfig through menuconfig is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;CONFIG_SPI=y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;CONFIG_SPI_MASTER=m&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;CONFIG_SPI_BITBANG=y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;CONFIG_SPI_GPIO=y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;CONFIG_SPI_IMX=y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;CONFIG_SPI_SPIDEV=y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;CONFIG_SND_SPI=y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;CONFIG_SND_SOC_I2C_AND_SPI=y&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. dts patch is added in kernel.bbappend file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I check on board,&amp;nbsp;with command&amp;nbsp;dmesg | grep spi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It shows,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;[ 1.275849] fsl-flexspi 30bb0000.flexspi: mt25qu256 (16384 Kbytes)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;[ 1.288721] spi_imx 30830000.ecspi: probed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I check in /dev&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;spidev is not present.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After few seconds it shows message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;[ 62.550971] imx-sdma 302c0000.dma-controller: external firmware not found, using ROM firmware&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;[ 62.551253] imx-sdma 30bd0000.dma-controller: external firmware not found, using ROM firmware&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;[ 62.551337] imx-sdma 302b0000.dma-controller: external firmware not found, using ROM firmware&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;while same command&amp;nbsp;dmesg | grep spi returns nothing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please check attached file for detail.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How to configure spidev module?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2020 12:44:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ecspi2-probed-but-spidev-module-is-not-present-in-dev/m-p/1027514#M151794</guid>
      <dc:creator>rutuja_patil</dc:creator>
      <dc:date>2020-03-13T12:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: ecspi2 probed but spidev module is not present in /dev</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ecspi2-probed-but-spidev-module-is-not-present-in-dev/m-p/1027515#M151795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rutuja&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i.MX8M spidev one can try steps described on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.emcraft.com/som/imx-8m/accessing-spi-devices-in-linux" title="https://www.emcraft.com/som/imx-8m/accessing-spi-devices-in-linux"&gt;Accessing SPI Devices in Linux&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://variwiki.com/index.php?title=DART-MX8M_SPI" title="http://variwiki.com/index.php?title=DART-MX8M_SPI"&gt;http://variwiki.com/index.php?title=DART-MX8M_SPI&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>Sun, 15 Mar 2020 23:03:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ecspi2-probed-but-spidev-module-is-not-present-in-dev/m-p/1027515#M151795</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-03-15T23:03:01Z</dc:date>
    </item>
  </channel>
</rss>

