summaryrefslogtreecommitdiff
path: root/drivers/iio/Kconfig
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2018-04-24 00:08:09 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-04-28 20:03:22 +0300
commit8b74816b5a9adac4629f0f072c122d57b8f0eb78 (patch)
tree2dc24a76aae89c9b1d543fb8c63917bb4b82704a /drivers/iio/Kconfig
parent2e9a128f359c1baa8f0fbfdb95a1b40f84244801 (diff)
downloadlinux-8b74816b5a9adac4629f0f072c122d57b8f0eb78.tar.xz
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 'drivers/iio/Kconfig')
-rw-r--r--drivers/iio/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig
index b3c8c6ef0dff..d69e85a8bdc3 100644
--- a/drivers/iio/Kconfig
+++ b/drivers/iio/Kconfig
@@ -70,6 +70,7 @@ config IIO_TRIGGERED_EVENT
source "drivers/iio/accel/Kconfig"
source "drivers/iio/adc/Kconfig"
+source "drivers/iio/afe/Kconfig"
source "drivers/iio/amplifiers/Kconfig"
source "drivers/iio/chemical/Kconfig"
source "drivers/iio/common/Kconfig"