]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: TWL4030: Add support Voice DAI
authorJoonyoung Shim <jy0922.shim@samsung.com>
Mon, 20 Apr 2009 10:21:35 +0000 (19:21 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 20 Apr 2009 11:44:24 +0000 (12:44 +0100)
commitf4aa38687ebb9c2110a3a078d766464e767cc3b2
treed7741c68ea143dc4cfdb2ffbe3ef350e544a12d5
parentba6f37193b366f03178ffa72000ec8db7313fbf1
ASoC: TWL4030: Add support Voice DAI

Add Voice DAI to support the PCM voice interface of the twl4030 codec.

The PCM voice interface can be used with 8-kHz(voice narrowband) or
16-kHz(voice wideband) sampling rates, and 16bits, and mono RX and mono
TX or stereo TX.

The PCM voice interface has two modes
 - PCM mode1 : This uses the normal FS polarity and the rising edge of
               the clock signal.
 - PCM mode2 : This uses the FS polarity inverted and the falling edge
               of the clock signal.

If the system master clock is not 26MHz or the twl4030 codec mode is not
option2, the voice PCM interface is not available.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl4030.c
sound/soc/codecs/twl4030.h
sound/soc/omap/omap2evm.c
sound/soc/omap/omap3beagle.c
sound/soc/omap/omap3pandora.c
sound/soc/omap/overo.c
sound/soc/omap/sdp3430.c