<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックMCF v4 - Linux I2C bus driver, how to select adapter?</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF-v4-Linux-I2C-bus-driver-how-to-select-adapter/m-p/162497#M5262</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The MCF54418 has 6 I2C modules. In my setup I am using I2C5 connected to three I2C slave devices. U-Boot has been modfied to correctly probe all slaves. Moving on to Linux I face that the driver will initialize I2C0 and not I2C5, hence my slaves can not be detected. On I2C0 the slave 2C (a clock chip) is detected and I can communicate through i2c-dev. So all is fine, except for the adapter selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked in the driver "linux/drivers/i2c/busses/i2c-mcf.c" but the changes needed are not evident!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated. I belive Linux should be able to find both adapters, but if not then I2C5 is enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using ltib-modelo-20100709 and I have attached a listing of U-Boot and kernel boot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;- Lars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Nov 2010 18:19:06 GMT</pubDate>
    <dc:creator>lmhdoms</dc:creator>
    <dc:date>2010-11-11T18:19:06Z</dc:date>
    <item>
      <title>MCF v4 - Linux I2C bus driver, how to select adapter?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF-v4-Linux-I2C-bus-driver-how-to-select-adapter/m-p/162497#M5262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The MCF54418 has 6 I2C modules. In my setup I am using I2C5 connected to three I2C slave devices. U-Boot has been modfied to correctly probe all slaves. Moving on to Linux I face that the driver will initialize I2C0 and not I2C5, hence my slaves can not be detected. On I2C0 the slave 2C (a clock chip) is detected and I can communicate through i2c-dev. So all is fine, except for the adapter selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked in the driver "linux/drivers/i2c/busses/i2c-mcf.c" but the changes needed are not evident!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated. I belive Linux should be able to find both adapters, but if not then I2C5 is enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using ltib-modelo-20100709 and I have attached a listing of U-Boot and kernel boot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;- Lars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 18:19:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF-v4-Linux-I2C-bus-driver-how-to-select-adapter/m-p/162497#M5262</guid>
      <dc:creator>lmhdoms</dc:creator>
      <dc:date>2010-11-11T18:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: MCF v4 - Linux I2C bus driver, how to select adapter?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF-v4-Linux-I2C-bus-driver-how-to-select-adapter/m-p/162498#M5263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to close this issue, I edited the linux/arch/m68k/coldfire/m5441x/devices.c&amp;nbsp; file which has all the port configurations for the specific processor. Also, I modified the ltib menu (/config/platform/modelo/main.lkc) to support selecting I2C adapter 0-5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 17:07:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF-v4-Linux-I2C-bus-driver-how-to-select-adapter/m-p/162498#M5263</guid>
      <dc:creator>lmhdoms</dc:creator>
      <dc:date>2011-01-04T17:07:36Z</dc:date>
    </item>
  </channel>
</rss>

