aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/wm8994
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-21 11:23:35 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-21 11:49:53 -0500
commit07fb9d9e935a07aaed557c58d795c18fcd99aab4 (patch)
tree16607052a8dae5d85d54d5d3fdd1193ed30c1f75 /include/linux/mfd/wm8994
parent55a27786856458a785e1ed7221aee22a06def877 (diff)
ASoC: wm8994: Support external capacitors on MICBIAS2 with jack detection
When an external capacitor is connected to MICBIAS2 on devices with jack detection (which is not required but may be done in some systems) then the loading may mean that better performance is obtained when the microphone bias is enabled normally rather than using the low power mode. Provide platform data allowing systems to indicate if they require this. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/mfd/wm8994')
-rw-r--r--include/linux/mfd/wm8994/pdata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mfd/wm8994/pdata.h b/include/linux/mfd/wm8994/pdata.h
index 3fb1f407d5e6..dc3e05011689 100644
--- a/include/linux/mfd/wm8994/pdata.h
+++ b/include/linux/mfd/wm8994/pdata.h
@@ -185,6 +185,9 @@ struct wm8994_pdata {
185 unsigned int jd_scthr:2; 185 unsigned int jd_scthr:2;
186 unsigned int jd_thr:2; 186 unsigned int jd_thr:2;
187 187
188 /* Configure WM1811 jack detection for use with external capacitor */
189 unsigned int jd_ext_cap:1;
190
188 /* WM8958 microphone bias configuration */ 191 /* WM8958 microphone bias configuration */
189 int micbias[2]; 192 int micbias[2];
190 193