<?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のトピックEnabling spidev on iMX6</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Enabling-spidev-on-iMX6/m-p/710829#M110541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on a custom board based on IMX6Q6AVT10AC and it runs linux kernel version 3.14.28.&lt;/P&gt;&lt;P&gt;I have 3 SPI devices connected to ECSPI1( RTC, SPI Flash and PIC ). Initially only RTC and SPI Flash was enabled in the device tree and both were working fine. Now I have enabled PIC&amp;nbsp; too. Now rtc does not recieve chip select. But the other two chipselects are asserted correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'dmesg | grep rtc'&amp;nbsp; gives the following error&lt;/P&gt;&lt;P&gt;rtc-pcf2123 spi0.2: chip not found&lt;BR /&gt;drivers/rtc/hctosys.c: unable to open rtc device (rtc0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;device tree entry for ecspi1:&lt;/P&gt;&lt;P&gt;&amp;amp;ecspi1 {&lt;BR /&gt; fsl,spi-num-chipselects = &amp;lt;3&amp;gt;;&lt;BR /&gt; cs-gpios = &amp;lt;&amp;amp;gpio4 9 0&amp;gt;, &amp;lt;&amp;amp;gpio3 24 0&amp;gt;, &amp;lt;&amp;amp;gpio3 25 0&amp;gt;;&lt;BR /&gt; pinctrl-names = "default";&lt;BR /&gt; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_ecspi1&amp;gt;;&lt;BR /&gt; status = "okay";&lt;/P&gt;&lt;P&gt;#if 1&lt;BR /&gt; flash: m25p80@0 {&lt;BR /&gt; #address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt; #size-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt; compatible = "sst25vf016b";&lt;BR /&gt; spi-max-frequency = &amp;lt;10000000&amp;gt;;&lt;BR /&gt; reg = &amp;lt;0&amp;gt;;&lt;BR /&gt; }; &lt;BR /&gt;#endif&lt;BR /&gt;#if 1&lt;BR /&gt; rtc: rtc-pcf2123@2 {&lt;BR /&gt; compatible = "rtc-pcf2123";&lt;BR /&gt; spi-cs-high;&lt;BR /&gt; spi-max-frequency = &amp;lt;2450000&amp;gt;;&lt;BR /&gt; reg = &amp;lt;2&amp;gt;;&lt;BR /&gt; }; &lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;#if 1&lt;BR /&gt; spidev: spidev@1 {&lt;BR /&gt; compatible = "spidev";&lt;BR /&gt; spi-cs-high;&lt;BR /&gt; spi-max-frequency = &amp;lt;100000&amp;gt;;&lt;BR /&gt; reg = &amp;lt;1&amp;gt;;&lt;BR /&gt; }; &lt;BR /&gt;#endif&lt;BR /&gt;};&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Sep 2017 05:36:40 GMT</pubDate>
    <dc:creator>anooja_s1</dc:creator>
    <dc:date>2017-09-22T05:36:40Z</dc:date>
    <item>
      <title>Enabling spidev on iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Enabling-spidev-on-iMX6/m-p/710829#M110541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on a custom board based on IMX6Q6AVT10AC and it runs linux kernel version 3.14.28.&lt;/P&gt;&lt;P&gt;I have 3 SPI devices connected to ECSPI1( RTC, SPI Flash and PIC ). Initially only RTC and SPI Flash was enabled in the device tree and both were working fine. Now I have enabled PIC&amp;nbsp; too. Now rtc does not recieve chip select. But the other two chipselects are asserted correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'dmesg | grep rtc'&amp;nbsp; gives the following error&lt;/P&gt;&lt;P&gt;rtc-pcf2123 spi0.2: chip not found&lt;BR /&gt;drivers/rtc/hctosys.c: unable to open rtc device (rtc0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;device tree entry for ecspi1:&lt;/P&gt;&lt;P&gt;&amp;amp;ecspi1 {&lt;BR /&gt; fsl,spi-num-chipselects = &amp;lt;3&amp;gt;;&lt;BR /&gt; cs-gpios = &amp;lt;&amp;amp;gpio4 9 0&amp;gt;, &amp;lt;&amp;amp;gpio3 24 0&amp;gt;, &amp;lt;&amp;amp;gpio3 25 0&amp;gt;;&lt;BR /&gt; pinctrl-names = "default";&lt;BR /&gt; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_ecspi1&amp;gt;;&lt;BR /&gt; status = "okay";&lt;/P&gt;&lt;P&gt;#if 1&lt;BR /&gt; flash: m25p80@0 {&lt;BR /&gt; #address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt; #size-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt; compatible = "sst25vf016b";&lt;BR /&gt; spi-max-frequency = &amp;lt;10000000&amp;gt;;&lt;BR /&gt; reg = &amp;lt;0&amp;gt;;&lt;BR /&gt; }; &lt;BR /&gt;#endif&lt;BR /&gt;#if 1&lt;BR /&gt; rtc: rtc-pcf2123@2 {&lt;BR /&gt; compatible = "rtc-pcf2123";&lt;BR /&gt; spi-cs-high;&lt;BR /&gt; spi-max-frequency = &amp;lt;2450000&amp;gt;;&lt;BR /&gt; reg = &amp;lt;2&amp;gt;;&lt;BR /&gt; }; &lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;#if 1&lt;BR /&gt; spidev: spidev@1 {&lt;BR /&gt; compatible = "spidev";&lt;BR /&gt; spi-cs-high;&lt;BR /&gt; spi-max-frequency = &amp;lt;100000&amp;gt;;&lt;BR /&gt; reg = &amp;lt;1&amp;gt;;&lt;BR /&gt; }; &lt;BR /&gt;#endif&lt;BR /&gt;};&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 05:36:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Enabling-spidev-on-iMX6/m-p/710829#M110541</guid>
      <dc:creator>anooja_s1</dc:creator>
      <dc:date>2017-09-22T05:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling spidev on iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Enabling-spidev-on-iMX6/m-p/710830#M110542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anooja&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you try to add #size-cells,#address-cells&amp;nbsp; properties to pic and rtc entries.&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>Fri, 22 Sep 2017 11:06:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Enabling-spidev-on-iMX6/m-p/710830#M110542</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-09-22T11:06:17Z</dc:date>
    </item>
  </channel>
</rss>

