]> git.baikalelectronics.ru Git - kernel.git/commit
IIO: ADC: add stm32 DFSDM support for PDM microphone
authorArnaud Pouliquen <arnaud.pouliquen@st.com>
Wed, 10 Jan 2018 10:13:12 +0000 (11:13 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 10 Jan 2018 10:30:13 +0000 (10:30 +0000)
commit814b5abe7ecebe346d7eac6dc386bacf9f1d3d20
treebeffb0b4fbe0a619b77ea4ad2aa401d73e5dd829
parentd38c5ee73623b446ca19a6f94de47976f44c8b8e
IIO: ADC: add stm32 DFSDM support for PDM microphone

This code offers a way to handle PDM audio microphones in
ASOC framework. Audio driver should use consumer API.
A specific management is implemented for DMA, with a
callback, to allows to handle audio buffers efficiently.

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>
Documentation/ABI/testing/sysfs-bus-iio-dfsdm-adc-stm32 [new file with mode: 0644]
drivers/iio/adc/stm32-dfsdm-adc.c
include/linux/iio/adc/stm32-dfsdm-adc.h [new file with mode: 0644]