Re: [PATCH/RFC 2/2] 5200: improve i2c bus error recovery

2 messages, 2 authors, 2010-01-26 · open the first message on its own page

Re: [PATCH/RFC 2/2] 5200: improve i2c bus error recovery

From: Albrecht Dreß <hidden>
Date: 2010-01-25 20:26:59

Am 25.01.10 08:55 schrieb(en) Wolfgang Grandegger:
Albrecht Dreß wrote:
quoted
Make the I2C adapter timeout configurable through a Device Tree property which gives the timeout in microseconds.
My understanding is that software properties should not be defined via the device tree. I think a sysfs entry is more appropriate.
Is the timeout really a /software/ property?  My feeling is that the timeout basically depends upon the bus clock and the chips attached to the bus.  Therefore, it is linked closer to the composition of the board's hardware as described in the device tree, than to any userland software.  Or am I totally wrong here?

Thanks, Albrecht.

Re: [PATCH/RFC 2/2] 5200: improve i2c bus error recovery

From: Wolfgang Grandegger <hidden>
Date: 2010-01-26 07:33:35

Albrecht Dreß wrote:
Am 25.01.10 08:55 schrieb(en) Wolfgang Grandegger:
quoted
Albrecht Dreß wrote:
quoted
Make the I2C adapter timeout configurable through a Device Tree
property which gives the timeout in microseconds.
My understanding is that software properties should not be defined via
the device tree. I think a sysfs entry is more appropriate.
Is the timeout really a /software/ property?  My feeling is that the
timeout basically depends upon the bus clock and the chips attached to
the bus.  Therefore, it is linked closer to the composition of the
board's hardware as described in the device tree, than to any userland
software.  Or am I totally wrong here?
Well, yes, it seems to be a border case.

Wolfgang.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help