All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <zonque@gmail.com>
To: Mark Brown <broonie@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>
Cc: ALSA development <alsa-devel@alsa-project.org>
Subject: Connecting two Codecs to the same CPU DAI
Date: Tue, 16 Jul 2013 16:31:01 +0200	[thread overview]
Message-ID: <51E55925.5080208@gmail.com> (raw)

Hi Mark, Liam,

I'm trying to find a sane solution for systems that have multiple Codecs
connected to the same CPU DAI. An example would be a codec that receives
the same I2S stream as a S/PDIF transceiver, and which is in fact
connected to the very same bus in hardware.

Currently, I'm setting up two DAI links in such cases, and userspace has
to open both subdevices and issue hw_params calls to each of them in
order to set up the hardware correctly.

This is cumbersome of course, and I wonder how the core could be
augmented in order to handle such cases correctly. Ideally, it should
only expose one PCM interface and handle a list of Codecs in the back.

Or am I unaware of an existing feature?


Thanks,
Daniel

             reply	other threads:[~2013-07-16 14:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-16 14:31 Daniel Mack [this message]
2013-07-16 16:20 ` Connecting two Codecs to the same CPU DAI Mark Brown
2013-07-16 16:33   ` Daniel Mack
2013-07-16 16:57     ` Mark Brown
2013-07-16 17:07       ` Daniel Mack
2013-07-16 17:47         ` Mark Brown
2013-07-17  9:16           ` Daniel Mack
2013-07-17  9:31             ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51E55925.5080208@gmail.com \
    --to=zonque@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.