summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8994.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-03-16 22:57:47 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-03-22 18:41:27 +0000
commit09e10d7fe509408d15818db6a0299f563668a7ba (patch)
treec00c5cff262e93e0c2fd697fe4ac2359f28fd98e /sound/soc/codecs/wm8994.h
parentf20d77ce2663b31c2994462d9ab9143726b67f3e (diff)
downloadblackbird-op-linux-09e10d7fe509408d15818db6a0299f563668a7ba.tar.gz
blackbird-op-linux-09e10d7fe509408d15818db6a0299f563668a7ba.zip
ASoC: Add WM8958 VSS support
With appropriate firmware the WM8958 can support Virtual Surround Sound or VSS, widening the stereo audio image for improved user experience. Enable support for this mode of operation when the appropriate firmware can be loaded at runtime. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/codecs/wm8994.h')
-rw-r--r--sound/soc/codecs/wm8994.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.h b/sound/soc/codecs/wm8994.h
index a4bfde83065f..f337f3d50590 100644
--- a/sound/soc/codecs/wm8994.h
+++ b/sound/soc/codecs/wm8994.h
@@ -84,6 +84,9 @@ struct wm8994_priv {
int lrclk_shared[2];
int mbc_ena[3];
+ int hpf1_ena[3];
+ int hpf2_ena[3];
+ int vss_ena[3];
/* Platform dependant DRC configuration */
const char **drc_texts;
@@ -101,6 +104,16 @@ struct wm8994_priv {
const char **mbc_texts;
struct soc_enum mbc_enum;
+ /* Platform dependant VSS configuration */
+ int vss_cfg;
+ const char **vss_texts;
+ struct soc_enum vss_enum;
+
+ /* Platform dependant VSS HPF configuration */
+ int vss_hpf_cfg;
+ const char **vss_hpf_texts;
+ struct soc_enum vss_hpf_enum;
+
struct wm8994_micdet micdet[2];
wm8958_micdet_cb jack_cb;
@@ -119,6 +132,7 @@ struct wm8994_priv {
int dsp_active;
const struct firmware *cur_fw;
const struct firmware *mbc;
+ const struct firmware *mbc_vss;
};
#endif
OpenPOWER on IntegriCloud