[i2c] design question: two I2C controllers on SoC
Markus Franke
markus.franke at s2002.tu-chemnitz.de
Thu Jun 28 08:27:18 CEST 2007
Trilok Soni wrote:
> Please check i2c-omap.c ? We have two I2C modules in OMAP2420, which
> gets differentiated using pdev->id. In your case, you might need to
> register two platform_device with id 1 and 2.
Thank you very much for this hint. This means I have to register two
platform devices in "arch/<mach>/<mach>.c". The probe() function of the
platform device in the I2C adapter is then called twice, once for each
adapter right?
Thanks for help,
Markus
More information about the i2c
mailing list