diff options
author | Peter Rosin <peda@axentia.se> | 2018-04-23 23:08:09 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-04-28 19:03:22 +0200 |
commit | 8b74816b5a9adac4629f0f072c122d57b8f0eb78 (patch) | |
tree | 2dc24a76aae89c9b1d543fb8c63917bb4b82704a /MAINTAINERS | |
parent | dt-bindings: iio: afe: add binding for current-sense-amplifier (diff) | |
download | linux-8b74816b5a9adac4629f0f072c122d57b8f0eb78.tar.xz linux-8b74816b5a9adac4629f0f072c122d57b8f0eb78.zip |
iio: afe: rescale: new driver
If an ADC channel measures the midpoint of a voltage divider, the
interesting voltage is often the voltage over the full resistance.
E.g. if the full voltage is too big for the ADC to handle.
Likewise, if an ADC channel measures the voltage across a shunt
resistor, with or without amplification, the interesting value is
often the current through the resistor.
This driver solves these problems by allowing to linearly scale a channel
and/or by allowing changes to the type of the channel.
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index d1c0f58cf8a0..ad4c68af122a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6905,6 +6905,7 @@ S: Maintained F: Documentation/devicetree/bindings/iio/afe/current-sense-amplifier.txt F: Documentation/devicetree/bindings/iio/afe/current-sense-shunt.txt F: Documentation/devicetree/bindings/iio/afe/voltage-divider.txt +F: drivers/iio/afe/iio-rescale.c IKANOS/ADI EAGLE ADSL USB DRIVER M: Matthieu Castet <castet.matthieu@free.fr> |