diff options
author | Michal Oleszczyk <oleszczyk.m@gmail.com> | 2018-02-19 10:03:46 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-02-19 11:36:40 +0000 |
commit | 92a2742f9813ef65da19145a77e8067d6abbc822 (patch) | |
tree | 3bd2a42c8b0e0feccb5001f8d9aca2e33a920326 /sound/soc/codecs/sgtl5000.h | |
parent | 7f7d5239f56cfd25ba8470354d9705815c079157 (diff) |
ASoC: sgtl5000: add 5 band graphic equalizer
Enable 5-band graphic equalizer which allows manipulation of
gain in range -11.75dB to 12dB for 5 specific sound bands:
115Hz, 330Hz, 990Hz, 3000Hz, 9900Hz.
Signed-off-by: Michal Oleszczyk <oleszczyk.m@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/sgtl5000.h')
-rw-r--r-- | sound/soc/codecs/sgtl5000.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/codecs/sgtl5000.h b/sound/soc/codecs/sgtl5000.h index 22f3442af982..28cf637155bb 100644 --- a/sound/soc/codecs/sgtl5000.h +++ b/sound/soc/codecs/sgtl5000.h @@ -399,4 +399,11 @@ #define SGTL5000_SYSCLK 0x00 #define SGTL5000_LRCLK 0x01 +/* + * SGTL5000_DAP_AUDIO_EQ + */ +#define SGTL5000_DAP_SEL_PEQ 1 +#define SGTL5000_DAP_SEL_TONE_CTRL 2 +#define SGTL5000_DAP_SEL_GEQ 3 + #endif |