[PATCH 0/8] iio: adc: stm32-dfsdm: add buffer modes

From: Fabrice Gasnier
Date: Wed Mar 06 2019 - 03:56:28 EST


This patchset adds support for buffer modes, scan mode and triggers
in STM32 DFSDM ADC driver:
- 1st patch is an improvement
- Patch 2 to 5 are basically precursor patchs that reworks the way to
configure the dfsdm for the audio part, so it can be common with the
iio part.
- Last patchs add support for triggered buffer mode (with scan mode and
hardware triggers)

Fabrice Gasnier (8):
iio: adc: stm32-dfsdm: make spi_master_freq more accurate
iio: adc: stm32-dfsdm: continuous mode depends on current mode
iio: adc: stm32-dfsdm: move dma enable from start_conv() to
start_dma()
iio: adc: stm32-dfsdm: move dma slave config to start routine
iio: adc: stm32-dfsdm: enable hw consumer
iio: adc: stm32-dfsdm: add support for scan mode
iio: adc: stm32-dfsdm: add support for buffer modes
iio: adc: stm32-dfsdm: claim direct mode for raw read and settings

drivers/iio/adc/stm32-dfsdm-adc.c | 513 +++++++++++++++++++++++++++++--------
drivers/iio/adc/stm32-dfsdm-core.c | 9 +-
2 files changed, 408 insertions(+), 114 deletions(-)

--
2.7.4