Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1271067
| From | Marc Titinger <mtitinger@baylibre.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [RFC 0/2] ABI: IIO: proposal for AVERAGING_RATIO support |
| Date | 2015-11-17 11:50 +0100 |
| Message-ID | <qvLZL-3Ro-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This is an attempt to document/define simple downsampling/averaging
features for some ADC devices.
As discussed in https://lkml.org/lkml/2015/11/16/566
As an illustration, Patch 2 is an instance of implementation
using ina226.
Marc Titinger (2):
ABI: iio: support AVERAGING_RATIO setting
iio: ina2xx: convert AVERGING ratio setting from generic sysfs attr to
ABI
Documentation/ABI/testing/sysfs-bus-iio | 13 +++++++++
drivers/iio/adc/ina2xx-iio.c | 47 +++++----------------------------
drivers/iio/industrialio-core.c | 1 +
include/linux/iio/iio.h | 1 +
include/linux/iio/sysfs.h | 9 +++++++
5 files changed, 30 insertions(+), 41 deletions(-)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[RFC 0/2] ABI: IIO: proposal for AVERAGING_RATIO support Marc Titinger <mtitinger@baylibre.com> - 2015-11-17 11:50 +0100
csiph-web