]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commiteca949800d2dd761bc0c73b793e4e9ad4a997469
treebeffb0b4fbe0a619b77ea4ad2aa401d73e5dd829
parente2e6771c646251657fafb2a78db566d5c2c70635
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]