mbox series

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

Message ID 1553186849-6261-1-git-send-email-fabrice.gasnier@st.com (mailing list archive)
Headers show
Series iio: adc: stm32-dfsdm: add buffer modes | expand

Message

Fabrice Gasnier March 21, 2019, 4:47 p.m. UTC
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)

Changes in v2:
- rework 1st patch to better reflect the contrainsts and explain them,
  to reflect Jonathan's remarks.
- improve patch 7 description to better explain the DFSDM modes, with
  regard to the userland interface.

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 |  17 +-
 2 files changed, 413 insertions(+), 117 deletions(-)