[i2c] [PATCH 2/2] i2c: Add devtree-aware iic support for PPC4xx

Eugene Surovegin ebs at ebshome.net
Mon Oct 15 21:11:18 CEST 2007


On Mon, Oct 15, 2007 at 01:53:40PM -0500, Scott Wood wrote:
> Though, I don't see what the problem with the original approach is, as long
> as the numbers are chosen in the same way when registering i2c clients based
> on the children of the adapter node.  There's no concept in the hardware
> itself of a bus number.

Huh? As far as I can tell, there is. Also, I want messages from the 
kernel mention something I can map to the real hw, e.g. fixed IIC 
device index, not some random number.

This already works with the current OCP code, so if you want change 
it to a "superior" technology, please, make sure it provides the same 
functionality as trivial OCP one.

I find it rather puzzling that instead people are trying to make 
this a non-issue as soon as it cannot be implemented easily with 
their new and shiny infrastructure.

-- 
Eugene





More information about the i2c mailing list