[PATCH 0/5] iio: adc: stm32-dfsdm: fix and improve output data managementiio: adc: stm32-dfsdm: fix and improve output data management

From: Olivier Moysan
Date: Wed Jun 19 2019 - 09:09:33 EST

This patch-set provides some fixes and improvements regarding output data format
for STM32 DFSDM.
- Fix output data resolution and saturation management in continuous mode
- Fix data type
- Apply same processing on data in continuous and triggered mode
- Add fast mode support to get better resolution for output data
- Add a comment about 16 bits data transfers

Olivier Moysan (5):
iio: adc: stm32-dfsdm: fix output resolution
iio: adc: stm32-dfsdm: fix data type
iio: adc: stm32-dfsdm: manage data resolution in trigger mode
iio: adc: stm32-dfsdm: add fast mode support
iio: adc: stm32-dfsdm: add comment for 16 bits record

drivers/iio/adc/stm32-dfsdm-adc.c | 233 +++++++++++++++++++++++++++++++-------
drivers/iio/adc/stm32-dfsdm.h | 24 +++-
2 files changed, 208 insertions(+), 49 deletions(-)