OSDN Git Service

Add driver for SAMA7G5's PDMC
authorMark Brown <broonie@kernel.org>
Tue, 8 Mar 2022 17:19:20 +0000 (17:19 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 8 Mar 2022 17:19:20 +0000 (17:19 +0000)
commit6b1b0f7d7d65e6a15b5e5e05cd66a924474e3e64
treec915a5cdac9dccb8e9b899e3efc2eedb4396a700
parent6ae0a4d8fec551ec581d620f0eb1fe31f755551c
parent50291652af5269813baa6024eb0e81b5f0bbb451
Add driver for SAMA7G5's PDMC

Merge series from Codrin Ciubotariu <codrin.ciubotariu@microchip.com>:

This patch series adds support for Pulse Density Microphone Controller
(PDMC), present on Microchip's SAMA7G5.
The PDMC interfaces up to 4 digital microphones having Pulse Density
Modulated (PDM) outputs. It generates a single clock line and samples 1 or
2 data lines. The signal path includes an audio grade programmable
decimation filter and outputs 24-bit audio words.
The source of each channel can be independently defined as PDMC_DS0 or
PDMC_DS1, sampled at the rising or falling edge of PDMC_CLK.

The patch series starts with a fix on the ASoC DMA engine support. Then
continues with the bindings and the driver of PDMC. It is followed by the
DT nodes for SAMA7G5 and SAMA7G5-EK. In the end, the drivers for PDMC
and PDM microphones are enabled in sama7_defconfig.