Hi,

before submitting a patch, I would like to hear your opinion...

When testing a i2c bus on the '5200, I ran into bus hangs because one of the attached chips went south. The timeout in struct i2c_adapter of drivers/i2c/busses/i2c-mpc.c is hard-wired to 1 second (HZ jiffies) which is *really* (too) long, at least for my use case.

Wouldn't it make sense to add an optional dts property as to overwrite that 
value?  I.e. something like
        timeout = <xxx>;
where xxx is given in microseconds?  Or should the property read "fsl,timeout" 
as I would apply it to a Freescale chip?

Thanks, Albrecht.

Attachment: pgpRoAcdYQ4kS.pgp
Description: PGP signature

_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to