* Q/RFC: add dts property for i2c apater timeout?
@ 2010-01-12 19:43 Albrecht Dreß
0 siblings, 0 replies; only message in thread
From: Albrecht Dreß @ 2010-01-12 19:43 UTC (permalink / raw)
To: Devicetree Discussions, Ben Dooks (embedded platforms)
[-- Attachment #1.1: Type: text/plain, Size: 612 bytes --]
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 #1.2: Type: application/pgp-signature, Size: 190 bytes --]
[-- Attachment #2: Type: text/plain, Size: 192 bytes --]
_______________________________________________
devicetree-discuss mailing list
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
https://lists.ozlabs.org/listinfo/devicetree-discuss
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-12 19:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-12 19:43 Q/RFC: add dts property for i2c apater timeout? Albrecht Dreß
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox