[lm-sensors] [PATCH v3 2/2] hwmon: (ltc4245) expose all GPIO pins as analog voltages
khali at linux-fr.org
Sat May 29 21:40:35 CEST 2010
On Thu, 27 May 2010 08:56:44 -0700, Ira W. Snyder wrote:
> Add support for exposing all GPIO pins as analog voltages. Though this is
> not an ideal use of the chip, some hardware engineers may decide that the
> LTC4245 meets their design requirements when studying the datasheet.
> The GPIO pins are sampled in round-robin fashion, meaning that a slow
> reader will see stale data. A userspace application can detect this,
> because it will get -EAGAIN when reading from a sysfs file which contains
> stale data.
> Users can choose to use this feature on a per-chip basis by using either
> platform data or the OF device tree (where applicable).
> Signed-off-by: Ira W. Snyder <iws at ovro.caltech.edu>
More information about the lm-sensors