[RFC][PATCH] I2C driver

Sean MacLennan smaclennan at pikatech.com
Fri Aug 22 03:27:31 EST 2008


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.... 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.

Cheers,
   Sean



More information about the Linuxppc-dev mailing list