Skip to contentSkip to conversation

Device Support Questions

DISCUSSION David Spain 2 participants 2 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

I would like to know if there is any development work under way to support these devices
and if so whom I could contact about it:

1) Marvell GT-64260A (Gallileo System Controller for PowerPC) as I2C Bus Master.
2) Phillips PCA9557 & PCA9557a 8-bit I2C and SMBUS I/O port with interrupt.
3) Phillips PCA9554 & PCA9554a 8-bit I2C and SMBUS I/O port with interrupt.

And a general question I did not see in the FAQ.

In the lm_sensors/kernel/chips/lm87.c module the lm87_attach_adapter function is notably
different from other chip's counterparts in that it makes a copy of the static i2c_client_address_data
structure and calls the function "i2c_probe" using that copy. It saves the return status of this
function call then goes ahead and calls the i2c_detect function (as do all the other modules I have
looked at) but then returns not with the status from the i2c_detect call, but the one returned from
the i2c_probe call. Why this difference? From examining the code in i2c_detect vs i2c_probe it
wasn't obvious what the difference between these two functions are. Can anyone elaborate
for me?

Thanks,
Dave Spain
SkyComputers

#1 lore raw

To answer your first question (only) we're not aware of any work on those chips. If you find anybody please let us know and we'll add it to our 'new drivers' page.

Quoted 31 lines · David Spain

I would like to know if there is any development work under way to support these devices
and if so whom I could contact about it:

1) Marvell GT-64260A (Gallileo System Controller for PowerPC) as I2C Bus Master.
2) Phillips PCA9557 & PCA9557a 8-bit I2C and SMBUS I/O port with interrupt.
3) Phillips PCA9554 & PCA9554a 8-bit I2C and SMBUS I/O port with interrupt.

And a general question I did not see in the FAQ.

In the lm_sensors/kernel/chips/lm87.c module the lm87_attach_adapter function is notably
different from other chip's counterparts in that it makes a copy of the static i2c_client_address_data
structure and calls the function "i2c_probe" using that copy. It saves the return status of this
function call then goes ahead and calls the i2c_detect function (as do all the other modules I have
looked at) but then returns not with the status from the i2c_detect call, but the one returned from
the i2c_probe call. Why this difference? From examining the code in i2c_detect vs i2c_probe it
wasn't obvious what the difference between these two functions are. Can anyone elaborate
for me?

Thanks,
Dave Spain
SkyComputers