[PATCH/RFC 2/2] 5200: improve i2c bus error recovery
Albrecht Dreß
albrecht.dress at arcor.de
Tue Jan 26 07:26:59 EST 2010
Am 25.01.10 08:55 schrieb(en) Wolfgang Grandegger:
> Albrecht Dreß wrote:
>> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20100125/e7090e01/attachment.pgp>
More information about the Linuxppc-dev
mailing list