Le 28/01/2016 02:45, BALATON Zoltan a écrit :
On Wed, 27 Jan 2016, Hervé Poussineau wrote:
Unfortunately, Finnix doesn't try to access I2C bus, not even to initialize it.
I suppose it is because OpenBIOS doesn't describe the I2C bus in the device
tree...
The kernel in Finnix seems to have a driver but unfortunately I2C debugging is
not enabled so you probably won't get much useful info. The best idea in this
case is probably to compile a kernel with
debugging messages for I2C so you get some info on where it fails if it tries
to find the bus at all.
I just checked Linux source. arch/powerpc/platforms/powermac/low_i2c.c is
searching for 3 types of I2C buses
- if some device in DT is compatible with "keywest-i2c"
- if CONFIG_ADB_PMU is set, if some device in DT is named "pmu-i2c" or "via-pmu"
- if CONFIG_PMAC_SMU is set, if some device in DT is named "smu-i2c-control" or
"smu"
So, OpenBIOS needs to be changed to declare an I2C bus.
Then, maybe, I'll get some bus probing.
Regards,
Hervé