[PATCH 0/2] ASoC: DSP mode corrections for omap-mcbsp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux