[alsa-devel] [RFC] ASoC: Current state of Dynamic PCM API
Hi,
I am rewriting Marvell Kirkwood ASoC driver to also support Dove and reflect the audio controller's capabilities. The audio controller can have one DMA stream for playback and capture respectively. While capture source can be either I2S or SPDIF, playback can be on both interfaces simultaneously.
The setup I have in mind for a generic Kirkwood/Dove soundcard is:
(DMA)-->(CPU_DAI)--+<-->(I2S Codec) | +--->(SPDIF TX Codec) | +<---(SPDIF RX Codec)
I sent a mail on how to handle multiple codecs on a single cpu_dai earlier, and Mark pointed me to Dynamic PCM API. Unfortunately, current mainline ASoC has no driver using DPCM as an example and integration of DPCM patches look kind-of incomplete to me.
Can any of you point me to patches, repositories, or documentation about DPCM where I can start with?
Regards, Sebastian
On 04/18/2013 05:07 AM, Sebastian Hesselbarth wrote:
Can any of you point me to patches, repositories, or documentation about DPCM where I can start with?
One that I know of is here:
http://git.omapzoom.org/?p=kernel/omap.git;a=summary branch: p-android-omap-3.4, p-linux-omap-3.4 machine driver: sound/soc/omap/omap-abe-twl6040.c (OMAP4, OMAP5)
There's also stuff on the 3.0 and 3.1 branches... but 3.4 more closely resembles the current API.
-gabriel
participants (2)
-
Gabriel M. Beddingfield
-
Sebastian Hesselbarth