[i2c] Numbering of i2c adapters

Rafal Zabdyr armo at semihalf.com
Thu Sep 13 10:59:55 CEST 2007


Hi Grant!

Thanks for your comments.

Grant Likely wrote:
>>> 3. Setting adap.nr was previously based on pdev->id which is not
>>> available in the context of_device struct in the new I2C approach.
>>>
>>> Do you think it is a problem, or am I missing something?
>
> of_device is *not* used by this driver.  (it probably should be, but
> it isn't).  This is still a platform_device driver and fsl_i2c_of_init
> registers the needed platform_device for each controller.
>
We were working with linux-2.6-denx, and there was applied some 
temporary patch:

ref: 
http://www.nabble.com/i2c-mpc:-add-support-for-arch-powerpc--tree-t3332921.html

Rolling back resolves the problem.

best regards
-- 
Rafal Zabdyr



More information about the i2c mailing list