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