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-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html