Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* ASoC for TI OMAP - Multiformat ASoC DAI link driver?
@ 2008-04-02 10:45 Jarkko Nikula
  2008-04-02 11:48 ` Mark Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Jarkko Nikula @ 2008-04-02 10:45 UTC (permalink / raw)
  To: alsa-devel

Currently in ASoC v1 we have one DAI driver per one format? E.g.
separate drivers for I2S, AC97, etc and type field in cpu_dai
structure is not a bit field or at least not used such way in
soc-core.c and DAI link drivers.

struct snd_soc_cpu_dai pxa_i2s_dai = {
...
	.type = SND_SOC_DAI_I2S,
...

I looked shortly asoc-v2-dev branch and now this type field is gone.
Does it mean that there you can have DAI link driver which supports
multiple formats in set_fmt callback?

I'm asking this since McBSP (Multichannel Buffered Serial Port) found
in OMAP processors can be configured to almost any imaginable format
and IMO it doesn't make a sense to have separate drivers for each of
them if there is a difference only in few configuration bits.

-- 
Jarkko

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-03  6:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-02 10:45 ASoC for TI OMAP - Multiformat ASoC DAI link driver? Jarkko Nikula
2008-04-02 11:48 ` Mark Brown
2008-04-03  6:13   ` Jarkko Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox