All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ASoC: DSP mode corrections for omap-mcbsp
@ 2009-04-14  7:45 Peter Ujfalusi
  2009-04-14  7:45 ` [PATCH 1/2] ASoC: omap-mcbsp: Correct the DSP_B mode Peter Ujfalusi
  0 siblings, 1 reply; 17+ messages in thread
From: Peter Ujfalusi @ 2009-04-14  7:45 UTC (permalink / raw)
  To: alsa-devel; +Cc: broonie, jarkko.nikula

Hello,

As a follow-up for the before easter mail thread on the omap DSP_A/_B mode
support...

This series should fix the current DSP_B mode and also introduces support for
DSP_A mode in omap-mcbsp.

Since omap's mcbsp module is quite flexible, one who is writing a board file for
the omap platform has to check both the modes (DSP_A/_B) and the clock polarity
settings against the codec requirements and pick the correct pair.

For example in osk5912 board file:
To use DSP_B mode (as it is now, no changes needed):
        snd_soc_dai_set_fmt(codec_dai,
                SND_SOC_DAIFMT_DSP_B |
                SND_SOC_DAIFMT_NB_IF |
                SND_SOC_DAIFMT_CBM_CFM);

To use the DSP_A mode for the same board, codec:
        snd_soc_dai_set_fmt(codec_dai,
                SND_SOC_DAIFMT_DSP_A |
                SND_SOC_DAIFMT_IB_IF |
                SND_SOC_DAIFMT_CBM_CFM);


---
Peter Ujfalusi (2):
  ASoC: omap-mcbsp: Correct the DSP_B mode
  ASoC: omap-mcbsp: Add DSP_A support

 sound/soc/omap/omap-mcbsp.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

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

end of thread, other threads:[~2009-04-14 13:01 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-14  7:45 [PATCH 0/2] ASoC: DSP mode corrections for omap-mcbsp Peter Ujfalusi
2009-04-14  7:45 ` [PATCH 1/2] ASoC: omap-mcbsp: Correct the DSP_B mode Peter Ujfalusi
2009-04-14  7:45   ` [PATCH 2/2] ASoC: omap-mcbsp: Add DSP_A support Peter Ujfalusi
2009-04-14  8:20   ` [PATCH 1/2] ASoC: omap-mcbsp: Correct the DSP_B mode Jarkko Nikula
2009-04-14  8:40     ` Peter Ujfalusi
2009-04-14  9:02       ` Jarkko Nikula
2009-04-14  9:31         ` Mark Brown
2009-04-14 10:34           ` Peter Ujfalusi
2009-04-14 10:47             ` [PATCH 1/2] ASoC: omap-mcbsp: Correct the?DSP_B mode Mark Brown
2009-04-14 11:20             ` [PATCH 1/2] ASoC: omap-mcbsp: Correct the DSP_B mode Jarkko Nikula
2009-04-14 11:32               ` Arun KS
2009-04-14 12:58                 ` Jarkko Nikula
2009-04-14 11:56               ` Peter Ujfalusi
2009-04-14 12:01                 ` Mark Brown
2009-04-14 12:32               ` Peter Ujfalusi
2009-04-14 12:49                 ` Jarkko Nikula
2009-04-14 13:00                   ` Peter Ujfalusi

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.