sensors can't be detected on i2c-mpc Hi all,
The sensors can't be detected on the built-in I2C interface on the Freescale's MPC processors on linux-2.6.29. If it is not yet fixed, I think that it is forgotten to set the following values in the class. Signed-off-by: Hideo Saito <hsaito....@gmail.com> --- --- drivers/i2c/busses/i2c-mpc.c.org 2009-03-24 08:12:14.000000000 +0900 +++ drivers/i2c/busses/i2c-mpc.c 2009-06-04 08:50:34.000000000 +0900 @@ -304,16 +304,17 @@ static u32 mpc_functionality(struct i2c_ static const struct i2c_algorithm mpc_algo = { .master_xfer = mpc_xfer, .functionality = mpc_functionality, }; static struct i2c_adapter mpc_ops = { .owner = THIS_MODULE, + .class = I2C_CLASS_HWMON | I2C_CLASS_SPD, .name = "MPC adapter", .algo = &mpc_algo, .timeout = 1, }; static int __devinit fsl_i2c_probe(struct of_device *op, const struct of_device_id *match) { int result = 0; _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev