lkml.org 
[lkml]   [2015]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC 0/2] ABI: IIO: proposal for AVERAGING_RATIO support
Date
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



\
 
 \ /
  Last update: 2015-11-17 12:01    [W:0.052 / U:0.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site