diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-20 07:56:21 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-20 08:09:40 -0500 |
commit | 20fc48632f6de2f8cb35cd7a4de2b4c1649fcac7 (patch) | |
tree | 5776db0711e8bb2715da7d5bb7ab812baff6b041 | |
parent | 7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619 (diff) |
ASoC: wm5100: Implement DRC, EQ and LHPF coefficient configuration
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/codecs/wm5100.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c index 54397a508073..ac1745d030d6 100644 --- a/sound/soc/codecs/wm5100.c +++ b/sound/soc/codecs/wm5100.c | |||
@@ -563,6 +563,19 @@ SOC_DOUBLE_R("IN3 Switch", WM5100_ADC_DIGITAL_VOLUME_3L, | |||
563 | SOC_DOUBLE_R("IN4 Switch", WM5100_ADC_DIGITAL_VOLUME_4L, | 563 | SOC_DOUBLE_R("IN4 Switch", WM5100_ADC_DIGITAL_VOLUME_4L, |
564 | WM5100_ADC_DIGITAL_VOLUME_4R, WM5100_IN4L_MUTE_SHIFT, 1, 1), | 564 | WM5100_ADC_DIGITAL_VOLUME_4R, WM5100_IN4L_MUTE_SHIFT, 1, 1), |
565 | 565 | ||
566 | SND_SOC_BYTES_MASK("EQ1 Coefficients", WM5100_EQ1_1, 20, WM5100_EQ1_ENA), | ||
567 | SND_SOC_BYTES_MASK("EQ2 Coefficients", WM5100_EQ2_1, 20, WM5100_EQ2_ENA), | ||
568 | SND_SOC_BYTES_MASK("EQ3 Coefficients", WM5100_EQ3_1, 20, WM5100_EQ3_ENA), | ||
569 | SND_SOC_BYTES_MASK("EQ4 Coefficients", WM5100_EQ4_1, 20, WM5100_EQ4_ENA), | ||
570 | |||
571 | SND_SOC_BYTES_MASK("DRC Coefficients", WM5100_DRC1_CTRL1, 5, | ||
572 | WM5100_DRCL_ENA | WM5100_DRCR_ENA), | ||
573 | |||
574 | SND_SOC_BYTES("LHPF1 Coefficeints", WM5100_HPLPF1_2, 1), | ||
575 | SND_SOC_BYTES("LHPF2 Coefficeints", WM5100_HPLPF2_2, 1), | ||
576 | SND_SOC_BYTES("LHPF3 Coefficeints", WM5100_HPLPF3_2, 1), | ||
577 | SND_SOC_BYTES("LHPF4 Coefficeints", WM5100_HPLPF4_2, 1), | ||
578 | |||
566 | SOC_SINGLE("HPOUT1 High Performance Switch", WM5100_OUT_VOLUME_1L, | 579 | SOC_SINGLE("HPOUT1 High Performance Switch", WM5100_OUT_VOLUME_1L, |
567 | WM5100_OUT1_OSR_SHIFT, 1, 0), | 580 | WM5100_OUT1_OSR_SHIFT, 1, 0), |
568 | SOC_SINGLE("HPOUT2 High Performance Switch", WM5100_OUT_VOLUME_2L, | 581 | SOC_SINGLE("HPOUT2 High Performance Switch", WM5100_OUT_VOLUME_2L, |