summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/Kconfig
diff options
context:
space:
mode:
authorOlivier Moysan <olivier.moysan@foss.st.com>2024-07-30 10:46:39 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-08-10 11:17:34 +0100
commit6fc839dc320cd68c6009d5f5d73b7aa6ba428889 (patch)
tree341f69ddfe7b9a1066930628e238c65b4bd23209 /drivers/iio/adc/Kconfig
parentbd71b6d0ba5ec195d580d79b1ebdfedaeb63aae2 (diff)
downloadlinux-6fc839dc320cd68c6009d5f5d73b7aa6ba428889.tar.gz
linux-6fc839dc320cd68c6009d5f5d73b7aa6ba428889.tar.bz2
linux-6fc839dc320cd68c6009d5f5d73b7aa6ba428889.zip
iio: adc: stm32-dfsdm: add scaling support to dfsdm
Add scaling support to STM32 DFSDM. When used in an analog context, a DFSDM filter typically converts the data from a sigma delta modulator. The IIO device associated to the DFSDM filter provides these data as raw data. The IIO device can provide scaling information (voltage and offset) to allow conversion of raw data into physical values. With the new binding based on IIO backend framework, the sigma delta modulators are defined as backends providing scaling information. The scaling is not supported with legacy binding. Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com> Acked-by: Nuno Sa <nuno.sa@analog.com> Link: https://patch.msgid.link/20240730084640.1307938-10-olivier.moysan@foss.st.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/Kconfig')
-rw-r--r--drivers/iio/adc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 1babd4f69a7e..88e8ce2e78b3 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -1262,6 +1262,7 @@ config STM32_DFSDM_ADC
select IIO_BUFFER
select IIO_BUFFER_HW_CONSUMER
select IIO_TRIGGERED_BUFFER
+ select IIO_BACKEND
help
Select this option to support ADCSigma delta modulator for
STMicroelectronics STM32 digital filter for sigma delta converter.