diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2017-11-08 23:42:31 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-11-09 12:42:26 +0100 |
commit | e0d746cc0155a51cc24eb56286cd21a2c5aa4985 (patch) | |
tree | 483e905cc201fec43356a82fc939c6787ea64cc6 /sound/soc/codecs/da7213.h | |
parent | Linux 4.14-rc1 (diff) | |
download | linux-e0d746cc0155a51cc24eb56286cd21a2c5aa4985.tar.xz linux-e0d746cc0155a51cc24eb56286cd21a2c5aa4985.zip |
ASoC: da7213: add support for DSP modes
DSP modes are documented in the data sheet but not enabled in the driver.
The work-around already implemented for DA7218/9 is also required to
make sure the bit clock handling in DSP modes follows ASoC conventions.
Tested with ARD-AUDIO-DA7212 and Minnowmax Turbot boards
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/da7213.h')
-rw-r--r-- | sound/soc/codecs/da7213.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/da7213.h b/sound/soc/codecs/da7213.h index 16ef56f77cd4..5a78dba1dcb5 100644 --- a/sound/soc/codecs/da7213.h +++ b/sound/soc/codecs/da7213.h @@ -188,6 +188,7 @@ #define DA7213_DAI_FORMAT_I2S_MODE (0x0 << 0) #define DA7213_DAI_FORMAT_LEFT_J (0x1 << 0) #define DA7213_DAI_FORMAT_RIGHT_J (0x2 << 0) +#define DA7213_DAI_FORMAT_DSP (0x3 << 0) #define DA7213_DAI_FORMAT_MASK (0x3 << 0) #define DA7213_DAI_WORD_LENGTH_S16_LE (0x0 << 2) #define DA7213_DAI_WORD_LENGTH_S20_LE (0x1 << 2) |