diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2014-11-10 12:27:33 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-10 12:04:02 +0000 |
commit | 368494093354ac613a80c2e1d77602aa12473cf0 (patch) | |
tree | 2aa20ad22a46c9d818112b9db03a5fbb82cae6ea /sound/soc/codecs/tlv320aic3x.h | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) | |
download | talos-op-linux-368494093354ac613a80c2e1d77602aa12473cf0.tar.gz talos-op-linux-368494093354ac613a80c2e1d77602aa12473cf0.zip |
ASoC: tlv320aic3x: Add TDM support
TDM support is achieved using DSP transfer mode and setting a
programmable offset which specifies where data begins with
respect to the frame sync.
It requires 256-clock mode if CODEC is master (not currently
supported in the driver). No additional dependency if CODEC
is slave.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tlv320aic3x.h')
-rw-r--r-- | sound/soc/codecs/tlv320aic3x.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/tlv320aic3x.h b/sound/soc/codecs/tlv320aic3x.h index e521ac3ddde8..89fa692df206 100644 --- a/sound/soc/codecs/tlv320aic3x.h +++ b/sound/soc/codecs/tlv320aic3x.h @@ -169,6 +169,7 @@ /* Audio serial data interface control register A bits */ #define BIT_CLK_MASTER 0x80 #define WORD_CLK_MASTER 0x40 +#define DOUT_TRISTATE 0x20 /* Codec Datapath setup register 7 */ #define FSREF_44100 (1 << 7) |