[RFC][PATCH] I2C driver
Steven A. Falco
sfalco at harris.com
Fri Aug 22 06:37:11 EST 2008
Stefan Roese wrote:
> On Thursday 21 August 2008, Sean MacLennan wrote:
>> On Thu, 21 Aug 2008 13:06:24 -0400
>>
>> "Steven A. Falco" <sfalco at harris.com> wrote:
>>> However, while the i2c-ibm_of.c driver works with the sequoia .dts,
>>> i2c-ibm_iic.c does not, because it is looking for an "index" property,
>>> which is not in the .dts file. I added one:
>> I don't know where i2c-ibm_of.c came from....
>
> It's a temporary DENX version for arch/powerpc which we created, since it took
> too long to get something accepted upstream (I remember endless discussions
> about index properties...). And we needed something functional quite a while
> ago.
>
>> but in the 2.6.26 kernel
>> you need the index property.
>>
>> The 2.6.27 kernel has a fully OF aware i2c-ibm_iic driver. You do
>> not need the index. And it will walk the device tree and setup the
>> devices for you.
>
> Yes. Since 2.6.27 the "original" IBM I2C driver should be enough. We will drop
> our local special version soon.
>
> Best regards,
> Stefan
>
> =====================================================================
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
> =====================================================================
>
I was able to cherry-pick the i2c-ibm_iic driver from .27 into .26, so
I withdraw my comments regarding the soon-to-be-discarded i2c-ibm_of
driver.
Steve
More information about the Linuxppc-dev
mailing list