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

Peter Ujfalusi peter.ujfalusi at nokia.com
Tue Apr 14 09:45:29 CEST 2009


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

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_DAIFMT_DSP_B |
                SND_SOC_DAIFMT_NB_IF |

To use the DSP_A mode for the same board, codec:
                SND_SOC_DAIFMT_DSP_A |
                SND_SOC_DAIFMT_IB_IF |

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

More information about the Alsa-devel mailing list