OSDN Git Service

ASoC: dwc: Add PIO PCM extension
authorJose Abreu <Jose.Abreu@synopsys.com>
Thu, 9 Jun 2016 11:47:05 +0000 (12:47 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 13 Jun 2016 16:52:00 +0000 (17:52 +0100)
commit79361b2b98b7b64bcf71e0aa4e4dac497bcb94bc
tree96626073b00934428d9d85f2a2e2937396f01df3
parentb1d32feb9a1c0d26d1749519d598b676bc7b5d80
ASoC: dwc: Add PIO PCM extension

A PCM extension was added to I2S driver so that audio
samples are transferred using PIO mode.

The PCM supports two channels @ 16 or 32 bits with rates
32k, 44.1k and 48k.

Although the mainline I2S driver uses ALSA DMA engine the
I2S controller can be built without DMA support, therefore
this is the reason why this extension was added.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Carlos Palminha <palminha@synopsys.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: linux-snps-arc@lists.infradead.org
Cc: alsa-devel@alsa-project.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/dwc/Kconfig
sound/soc/dwc/Makefile
sound/soc/dwc/designware_i2s.c
sound/soc/dwc/designware_pcm.c [new file with mode: 0644]
sound/soc/dwc/local.h [new file with mode: 0644]