aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-30 05:55:14 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-01 09:21:51 -0500
commit4585790d1cde32a5719c24412e9845e031358e08 (patch)
tree1350ab58fb4fa2611c45c96da0c0daa6143b4096 /include
parent604533de0f60c3be6ae99fdaf44d1d79f38b307e (diff)
ASoC: Allow more WM8958/WM1811 button levels with default handler
The WM8958 and WM1811 support detecting a range of buttons. Allow the user to provide platform data enabling more of these levels without having to write a custom detection handler. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include')
-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 ea32f306dca6..195ade95af38 100644
--- a/include/linux/mfd/wm8994/pdata.h
+++ b/include/linux/mfd/wm8994/pdata.h
@@ -168,6 +168,9 @@ struct wm8994_pdata {
168 /* WM8958 microphone bias configuration */ 168 /* WM8958 microphone bias configuration */
169 int micbias[2]; 169 int micbias[2];
170 170
171 /* WM8958 microphone detection ranges */
172 u16 micd_lvl_sel;
173
171 /* Disable the internal pull downs on the LDOs if they are 174 /* Disable the internal pull downs on the LDOs if they are
172 * always driven (eg, connected to an always on supply or 175 * always driven (eg, connected to an always on supply or
173 * GPIO that always drives an output. If they float power 176 * GPIO that always drives an output. If they float power