summaryrefslogtreecommitdiffstats
path: root/include/sound/wm8960.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-03 13:47:03 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-03 17:08:43 +0000
commit913d7b4cc0d958df9f2e4bc0e6926c037d96d07e (patch)
tree002e053fcda7dd2fb41e90706963b2366e83e29c /include/sound/wm8960.h
parentb6877a477d356a7c07a6c173d58c34a0a6abb086 (diff)
downloadlinux-913d7b4cc0d958df9f2e4bc0e6926c037d96d07e.tar.bz2
ASoC: Add support for WM8960 capless mode
The WM8960 headphone outputs can be run in capless mode with OUT3 used to drive a pseudo ground for the headphone drivers. In this mode the mono mixer is not used, the mixer should be turned on in concert with the headphone output drivers and the device bias levels are managed differently. Also tweak the existing bias management to remove the use of active discharge while we're at it since that's often audible. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include/sound/wm8960.h')
-rw-r--r--include/sound/wm8960.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/wm8960.h b/include/sound/wm8960.h
index 808a258e696c..74e9a95529c5 100644
--- a/include/sound/wm8960.h
+++ b/include/sound/wm8960.h
@@ -16,6 +16,8 @@
#define WM8960_DRES_MAX 3
struct wm8960_data {
+ bool capless; /* Headphone outputs configured in capless mode */
+
int dres; /* Discharge resistance for headphone outputs */
};