diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2015-06-04 15:04:25 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-05 19:53:34 +0200 |
commit | 3f747a810e19b3ab88c6b303490c66f59e78b80b (patch) | |
tree | 7f3b0264b26e67dddf59459d688aabf3ec7df708 /sound/soc/codecs/tas2552.h | |
parent | ASoC: tas2552: Correct and clean up data format and BCLK/WCLK direction (diff) | |
download | linux-3f747a810e19b3ab88c6b303490c66f59e78b80b.tar.xz linux-3f747a810e19b3ab88c6b303490c66f59e78b80b.zip |
ASoC: tas2552: 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.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tas2552.h')
-rw-r--r-- | sound/soc/codecs/tas2552.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/tas2552.h b/sound/soc/codecs/tas2552.h index 0a12b511e951..5bdc7eaaddea 100644 --- a/sound/soc/codecs/tas2552.h +++ b/sound/soc/codecs/tas2552.h @@ -62,6 +62,9 @@ #define TAS2552_LIM_EN (1 << 2) #define TAS2552_IVSENSE_EN (1 << 1) +/* DOUT Register Masks */ +#define TAS2552_SDOUT_TRISTATE (1 << 2) + /* Serial Interface Control Register Masks */ #define TAS2552_DATAFORMAT_I2S (0x0 << 2) #define TAS2552_DATAFORMAT_DSP (0x1 << 2) |