diff options
| author | Crt Mori <[email protected]> | 2020-09-06 23:02:31 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2020-09-13 10:21:37 +0100 |
| commit | dde8ceec9e29fe2abf4fabee7d5a0445d0b75b66 (patch) | |
| tree | 3ec43016cbf6020f42835f486a386ec2cdba87c3 /include/linux | |
| parent | d3333e21f2d76fa384200a0826d766285787493f (diff) | |
iio: temperature: mlx90632: Interface to change object ambient temperature
Since object temperature might be different than the sensor temperature
the infrared sensors should provide an interface to inject ambient
temperature. This was in past done via write to ambient temperature
interface (in_temp_ambient_raw), but I think most people did not know
about it. This solution introduces a new iio type of the CALIBAMBIENT
which is hopefully more descriptive and more explicit about the purpose
and capabilities of the sensors.
Signed-off-by: Crt Mori <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/iio/types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/iio/types.h b/include/linux/iio/types.h index e6fd3645963c..1e3ed6f55bca 100644 --- a/include/linux/iio/types.h +++ b/include/linux/iio/types.h @@ -59,6 +59,7 @@ enum iio_chan_info_enum { IIO_CHAN_INFO_CALIBEMISSIVITY, IIO_CHAN_INFO_OVERSAMPLING_RATIO, IIO_CHAN_INFO_THERMOCOUPLE_TYPE, + IIO_CHAN_INFO_CALIBAMBIENT, }; #endif /* _IIO_TYPES_H_ */ |