From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Niels Langendorff <linux@langendorff.nl>
Cc: alsa-devel@alsa-project.org
Subject: Re: Two codecs using the same I2S bus
Date: Mon, 14 Dec 2009 10:33:03 +0000 [thread overview]
Message-ID: <20091214103303.GA1250@sirena.org.uk> (raw)
In-Reply-To: <1D0FFCE9-386C-49A4-87DF-5FDBF98B6118@langendorff.nl>
On Sat, Dec 12, 2009 at 08:54:04PM +0100, Niels Langendorff wrote:
> Op 12 dec 2009, om 19:05 heeft Mark Brown het volgende geschreven:
> > On Fri, Dec 11, 2009 at 01:29:07PM +0100, Niels Langendorff wrote:
> > This should work with the kernel as-is providing the two CODECs don't
> > both need register control, just declare DAI links for each of the links
> > you need from your machine driver.
> Both the codecs needs to be reconfigured by writing the registers for
> every playback/recording, so that is the difficulty.
I see. The difficulty with more than one register based device is
somewhat orthogonal to the DAIs. The current approach to such systems
is to have a driver for one of the devices which provides functions
which can be called from the machine drivers - the MAX9877 and TPA6130A2
in mainline are examples. This doesn't scale so well, though it is
workable for the time being if the devices aren't too complex.
prev parent reply other threads:[~2009-12-14 10:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-11 12:29 Two codecs using the same I2S bus Niels Langendorff
2009-12-12 18:05 ` Mark Brown
2009-12-12 18:06 ` Mark Brown
2009-12-12 19:54 ` Niels Langendorff
2009-12-14 10:33 ` Mark Brown [this message]
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=20091214103303.GA1250@sirena.org.uk \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=linux@langendorff.nl \
/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.