aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8994.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-03-16 18:57:47 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-03-22 14:41:27 -0400
commit09e10d7fe509408d15818db6a0299f563668a7ba (patch)
treec00c5cff262e93e0c2fd697fe4ac2359f28fd98e /sound/soc/codecs/wm8994.h
parentf20d77ce2663b31c2994462d9ab9143726b67f3e (diff)
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 {
84 int lrclk_shared[2]; 84 int lrclk_shared[2];
85 85
86 int mbc_ena[3]; 86 int mbc_ena[3];
87 int hpf1_ena[3];
88 int hpf2_ena[3];
89 int vss_ena[3];
87 90
88 /* Platform dependant DRC configuration */ 91 /* Platform dependant DRC configuration */
89 const char **drc_texts; 92 const char **drc_texts;
@@ -101,6 +104,16 @@ struct wm8994_priv {
101 const char **mbc_texts; 104 const char **mbc_texts;
102 struct soc_enum mbc_enum; 105 struct soc_enum mbc_enum;
103 106
107 /* Platform dependant VSS configuration */
108 int vss_cfg;
109 const char **vss_texts;
110 struct soc_enum vss_enum;
111
112 /* Platform dependant VSS HPF configuration */
113 int vss_hpf_cfg;
114 const char **vss_hpf_texts;
115 struct soc_enum vss_hpf_enum;
116
104 struct wm8994_micdet micdet[2]; 117 struct wm8994_micdet micdet[2];
105 118
106 wm8958_micdet_cb jack_cb; 119 wm8958_micdet_cb jack_cb;
@@ -119,6 +132,7 @@ struct wm8994_priv {
119 int dsp_active; 132 int dsp_active;
120 const struct firmware *cur_fw; 133 const struct firmware *cur_fw;
121 const struct firmware *mbc; 134 const struct firmware *mbc;
135 const struct firmware *mbc_vss;
122}; 136};
123 137
124#endif 138#endif