On Thu, Oct 01, 2026 at 04:56:46PM +0200, Olivier Moysan wrote: > Add the STM32 Multi-function Digital Filter (MDF) core, serial interface > and digital filter drivers. The MDF converts bitstreams from sigma-delta > modulators or digital microphones into samples exposed through IIO. > > Audio: capture PDM microphones via cyclic DMA for an ASoC consumer. > Support CIC scaling and filtering, synchronized and interleaving modes. > Audio use case requires a DMIC filter, and a separate ASoC DAI. > > Analog: expose sigma-delta modulators as IIO voltage channels with > direct reads or DMA buffering mode. STM32 timer triggers can be used as > clock source. > Analog use case requires an IIO backend for the SD modulator. > > Signed-off-by: Olivier Moysan <[email protected]> > --- > drivers/iio/adc/Kconfig | 27 + > drivers/iio/adc/Makefile | 3 + > drivers/iio/adc/stm32-mdf-adc.c | 2078 +++++++++++++++++++++++++ > drivers/iio/adc/stm32-mdf-core.c | 857 ++++++++++ > drivers/iio/adc/stm32-mdf-serial.c | 309 ++++ > drivers/iio/adc/stm32-mdf.h | 312 ++++ > include/linux/iio/adc/stm32-mdf-adc.h | 19 + > 7 files changed, 3605 insertions(+)
Unreviewable. Make sure the single patch is ~750 lines. -- With Best Regards, Andy Shevchenko
