I2C bus timeout property
Wolfram Sang
w.sang at pengutronix.de
Fri Apr 20 22:15:20 EST 2012
On Fri, Apr 20, 2012 at 11:41:15AM +0200, Roland Stigge wrote:
> Hi,
>
> as you may already have noticed, in the ARM devicetree conversion, we
> are wondering how to handle the I2C bus timeout property.
>
> There is already an "fsl,timeout" property, but introducing several
> driver or vendor specific properties for basically the same kind of
> property doesn't make much sense. We already searched devicetree.org and
> EPAPR but without finding timeout properties.
>
> I propose using a generic "timeout" property with newly supported i2c
> busses, holding a bus timeout value in microseconds (as already done
> with "fsl,timeout".
There is also "i2c-gpio,timeout-ms" already.
> What do you think?
Basically same question goes for "slave-addr". Since I2C is
multi-master, an I2C controller may also be slave (not that we support
that in the I2C core yet, but drivers could have that implemented on
their own). We have "samsung,i2c-slave-addr" already.
Regards,
Wolfram
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20120420/ca381101/attachment.sig>
More information about the devicetree-discuss
mailing list