linux/sound/soc/davinci
Daniel Mack 1b3bc060fb ASoC: McASP: implement a way to force BCLK/LRCLK ratios
Depending on the Codec, the the BCLK/LRCLK ratio might not be freely
chosen by the CPU DAI.

For example, some Codec might want to be supplied with 32-bit samples
for both its channels regardless of the actual audio word size the CPU
sends. In such cases, the rest of the bits on the data lines must be
padded with zeros:

          _______________________________
LRCLK    /                               \
      --'                                 `---------- .....

BCLK  ||||||||||||||||||||||||||||||||||||||||||||||| .....

DATA  ____||||||||||||||||_________________|||||||||| .....

          |<--  data  -->|<--   pads  --> |

This patch adds a new clock divider to configure the BCLK/LRCLK ratio.
If the machine code uses that divider, the driver uses the specified
value, instead of deriving that information from the audio word size.

Otherwise, the original behaviour is retained.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-12-07 14:47:10 +09:00
..
Kconfig
Makefile
davinci-evm.c ASoC: McASP: make AHCLK direction configurable 2012-10-15 11:24:47 +09:00
davinci-i2s.c ASoC/ARM: Davinci: McASP: split asp header into platform and audio specific 2012-08-27 11:12:09 -07:00
davinci-i2s.h
davinci-mcasp.c ASoC: McASP: implement a way to force BCLK/LRCLK ratios 2012-12-07 14:47:10 +09:00
davinci-mcasp.h ASoC: McASP: implement a way to force BCLK/LRCLK ratios 2012-12-07 14:47:10 +09:00
davinci-pcm.c ASoC: davinci: replace private sram api with genalloc 2012-10-22 14:58:34 +01:00
davinci-pcm.h ASoC: davinci: replace private sram api with genalloc 2012-10-22 14:58:34 +01:00
davinci-sffsdr.c ASoC: davinci: davinci-pcm does not need to be a plaform_driver 2012-08-27 11:12:08 -07:00
davinci-vcif.c ASoC: davinci: davinci-pcm does not need to be a plaform_driver 2012-08-27 11:12:08 -07:00