iio: core: Introduce IIO_CHAN_INFO_CALIBEMISSIVITY
authorVianney le Clément de Saint-Marcq <vianney.leclement@essensium.com>
Mon, 30 Mar 2015 08:34:58 +0000 (10:34 +0200)
committerJonathan Cameron <jic23@kernel.org>
Thu, 9 Apr 2015 14:03:05 +0000 (15:03 +0100)
commitc8a8585431efba0faaf41167f8f7c27c48307ca6
treef2813a14517319b9c27851b2e8ffcf168ae2d3cd
parenta25691c1f9674090fb66586cf4c5d60d3efdf339
iio: core: Introduce IIO_CHAN_INFO_CALIBEMISSIVITY

Contact-less IR temperature sensors measure the temperature of an object
by using its thermal radiation.  Surfaces with different emissivity
ratios emit different amounts of energy at the same temperature.

IIO_CHAN_INFO_CALIBEMISSIVITY allows the user to inform the sensor of the
emissivity of the object in front of it, in order to effectively measure
its temperature.

A device providing such setting is Melexis's MLX90614:
http://melexis.com/Assets/IR-sensor-thermometer-MLX90614-Datasheet-5152.aspx.

Signed-off-by: Vianney le Clément de Saint-Marcq <vianney.leclement@essensium.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/ABI/testing/sysfs-bus-iio
drivers/iio/industrialio-core.c
include/linux/iio/iio.h