iio: afe: rescale: add temperature transducers
authorLiam Beguin <liambeguin@gmail.com>
Sun, 13 Feb 2022 02:57:37 +0000 (21:57 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 28 Feb 2022 10:22:24 +0000 (10:22 +0000)
commit03e7d21ee1a975311c2a2c6f1f31e45023af991c
treee5174c4be66d32533007dfed303187cb3001f591
parent278fe1d2d3a70e45267098024dc27390d8a0a157
iio: afe: rescale: add temperature transducers

A temperature transducer is a device that converts a thermal quantity
into any other physical quantity. This patch adds support for
temperature to voltage (like the LTC2997) and temperature to current
(like the AD590) linear transducers.
In both cases these are assumed to be connected to a voltage ADC.

Signed-off-by: Liam Beguin <liambeguin@gmail.com>
Reviewed-by: Peter Rosin <peda@axentia.se>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220213025739.2561834-9-liambeguin@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/afe/iio-rescale.c