diff options
author | Petr Kulhavy <brain@jikos.cz> | 2016-06-01 09:30:00 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-06-01 17:22:10 +0200 |
commit | f7d3d2d8e8891433dc76f2427441b2584729e200 (patch) | |
tree | 56d5730043d9403db63e2178cd306cb8bd065c89 /sound/soc/codecs/tas571x.h | |
parent | ASoC: tas571x: add biquads for TAS5717/19 (diff) | |
download | linux-f7d3d2d8e8891433dc76f2427441b2584729e200.tar.xz linux-f7d3d2d8e8891433dc76f2427441b2584729e200.zip |
ASoC: tas571x: add input channel mixer for TAS5717/19
Add channel 1 and 2 input mixer registers and the related ALSA mixer
controls for TAS5717/19 chips.
The mixer control coefficients on the chip are linear in the range
-3.99999 to +3.99999, encoded in 3.23 number format.
In this patch the mixer controls are limited to 128 values
from 0.0 to 1.0 in 1/64 steps.
Signed-off-by: Petr Kulhavy <brain@jikos.cz>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tas571x.h')
-rw-r--r-- | sound/soc/codecs/tas571x.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/codecs/tas571x.h b/sound/soc/codecs/tas571x.h index bf4d4362c784..c45677bc26ad 100644 --- a/sound/soc/codecs/tas571x.h +++ b/sound/soc/codecs/tas571x.h @@ -87,4 +87,9 @@ #define TAS5717_CH3_BQ0_REG 0x5e #define TAS5717_CH3_BQ1_REG 0x5f +#define TAS5717_CH1_RIGHT_CH_MIX_REG 0x72 +#define TAS5717_CH1_LEFT_CH_MIX_REG 0x73 +#define TAS5717_CH2_LEFT_CH_MIX_REG 0x76 +#define TAS5717_CH2_RIGHT_CH_MIX_REG 0x77 + #endif /* _TAS571X_H */ |