public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/2] ABI: IIO: proposal for AVERAGING_RATIO support
@ 2015-11-17 10:44 Marc Titinger
  2015-11-17 10:44 ` [RFC 1/2] ABI: iio: support AVERAGING_RATIO setting Marc Titinger
  2015-11-17 10:44 ` [RFC 2/2] iio: ina2xx: convert AVERGING ratio setting from generic sysfs attr to ABI Marc Titinger
  0 siblings, 2 replies; 5+ messages in thread
From: Marc Titinger @ 2015-11-17 10:44 UTC (permalink / raw)
  To: jic23, knaack.h, lars, pmeerw
  Cc: daniel.baluta, linux-api, linux-kernel, linux-iio, Marc Titinger

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-11-17 14:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-17 10:44 [RFC 0/2] ABI: IIO: proposal for AVERAGING_RATIO support Marc Titinger
2015-11-17 10:44 ` [RFC 1/2] ABI: iio: support AVERAGING_RATIO setting Marc Titinger
2015-11-17 13:39   ` jic23
2015-11-17 14:04     ` Marc Titinger
2015-11-17 10:44 ` [RFC 2/2] iio: ina2xx: convert AVERGING ratio setting from generic sysfs attr to ABI Marc Titinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox