Skip to content

Add driver for SAMA7G5's PDMC

Codrin Ciubotariu alsa-devel linux-arm-kernel linux-devicetree lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 10 repliesIn review
  2. v26 patches 3 repliesSuperseded
  3. v16 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- addressed new DT bindings comments from Krzysztof Kozlowski

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ASoC: dmaengine: do not use a NULL prepare_slave_config() callbacksound/soc/soc-generic-dmaengine-pcm.c+3 -34 replies
2/6ASoC: dt-bindings: Document Microchip's PDMCDocumentation/devicetree/bindings/sound/microchip,pdmc.yaml include/dt-bindings/sound/microchip,pdmc.h+113 -01 reply
3/6ASoC: atmel: mchp-pdmc: add PDMC driversound/soc/atmel/Kconfig sound/soc/atmel/Makefile sound/soc/atmel/mchp-pdmc.c+1102 -00 replies
4/6ARM: dts: at91: sama7g5: add nodes for PDMCarch/arm/boot/dts/sama7g5.dtsi+24 -00 replies
5/6ARM: dts: at91: sama7g5ek: add node for PDMC0arch/arm/boot/dts/at91-sama7g5ek.dts+20 -10 replies
6/6ARM: configs: at91: sama7_defconfig: add MCHP PDMC and DMIC driversarch/arm/configs/sama7_defconfig+2 -04 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchKrzysztof Kozlowski
1/6
2/6R-b
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/6] Add driver for SAMA7G5's PDMC

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.

Changes in v3:
- addressed new DT bindings comments from Krzysztof Kozlowski

Changes in v2:
- addressed DT bindings comments from Krzysztof Kozlowski

Codrin Ciubotariu (6):
ASoC: dmaengine: do not use a NULL prepare_slave_config() callback
ASoC: dt-bindings: Document Microchip's PDMC
ASoC: atmel: mchp-pdmc: add PDMC driver
ARM: dts: at91: sama7g5: add nodes for PDMC
ARM: dts: at91: sama7g5ek: add node for PDMC0
ARM: configs: at91: sama7_defconfig: add MCHP PDMC and DMIC drivers

 .../bindings/sound/microchip,pdmc.yaml        |  100 ++
 arch/arm/boot/dts/at91-sama7g5ek.dts          |   21 +-
 arch/arm/boot/dts/sama7g5.dtsi                |   24 +
 arch/arm/configs/sama7_defconfig              |    2 +
 include/dt-bindings/sound/microchip,pdmc.h    |   13 +
 sound/soc/atmel/Kconfig                       |   16 +
 sound/soc/atmel/Makefile                      |    2 +
 sound/soc/atmel/mchp-pdmc.c                   | 1084 +++++++++++++++++
 sound/soc/soc-generic-dmaengine-pcm.c         |    6 +-
 9 files changed, 1264 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/sound/microchip,pdmc.yaml
 create mode 100644 include/dt-bindings/sound/microchip,pdmc.h
 create mode 100644 sound/soc/atmel/mchp-pdmc.c
Signature · 1 line
2.32.0