diff options
author | Arnaud Pouliquen <arnaud.pouliquen@st.com> | 2018-01-10 11:13:10 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-01-10 11:30:11 +0100 |
commit | bed73904e76fc08d0ec3a7ba3eb2ddbb2e38862c (patch) | |
tree | 99193706b1e4dc8d0a1906f827af83428dbcbc6f /drivers/iio/adc/Kconfig | |
parent | IIO: add DT bindings for stm32 DFSDM filter (diff) | |
download | linux-bed73904e76fc08d0ec3a7ba3eb2ddbb2e38862c.tar.xz linux-bed73904e76fc08d0ec3a7ba3eb2ddbb2e38862c.zip |
IIO: ADC: add stm32 DFSDM core support
Add driver for stm32 DFSDM pheripheral. Its converts a sigma delta
stream in n bit samples through a low pass filter and an integrator.
stm32-dfsdm-core driver is the core part supporting the filter
instances dedicated to sigma-delta ADC or audio PDM microphone purpose.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/iio/adc/Kconfig')
-rw-r--r-- | drivers/iio/adc/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 5f9d04a8ba53..776192e68ad5 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -668,6 +668,18 @@ config STM32_ADC This driver can also be built as a module. If so, the module will be called stm32-adc. +config STM32_DFSDM_CORE + tristate "STMicroelectronics STM32 DFSDM core" + depends on (ARCH_STM32 && OF) || COMPILE_TEST + select REGMAP + select REGMAP_MMIO + help + Select this option to enable the driver for STMicroelectronics + STM32 digital filter for sigma delta converter. + + This driver can also be built as a module. If so, the module + will be called stm32-dfsdm-core. + config STX104 tristate "Apex Embedded Systems STX104 driver" depends on PC104 && X86 && ISA_BUS_API |