[alsa-devel] [PATCH 0/7] ASoC:davinci-mcasp: bc polarity fix and proper format support

Peter Ujfalusi peter.ujfalusi at ti.com
Fri Apr 4 13:31:40 CEST 2014


The bit clock polarity has been configured incorrectly in the McASP driver for a
long time. IB_NF, NB_IF and IB_IF was not correct on the receive side since they
were selecting the same edge as we used for the tx.

The driver only had support for DSP_B mode (and probably AC97, but I can not
test that). All other formats were broken (DSP_A, I2S, LEFT_J, etc).
With this series the following formats will be supported by the McASP driver:
- AC97
- DSP_A (new)
- I2S (new)
- LEFT_J (new)

Non supported modes will return error from now on.

Peter Ujfalusi (7):
  ASoC: davinci-mcasp: Fix bit clock polarity settings
  ASoC: davinci-mcasp: Format data delay configuration enhancement
  ASoC: davinci-mcasp: Support for DSP_A format
  ASoC: davinci-mcasp: Move the FS polarity change out from the switch
  ASoC: davinci-mcasp: Add support for I2S format
  ASoC: davinci-mcasp: Support for LEFT_J format
  ASoC: davinci-mcasp: Remove excess empty lines from

 sound/soc/davinci/davinci-mcasp.c | 76 +++++++++++++++++++++++++--------------
 1 file changed, 50 insertions(+), 26 deletions(-)


More information about the Alsa-devel mailing list