summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-03 14:47:03 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-03 18:08:43 +0100
commit913d7b4cc0d958df9f2e4bc0e6926c037d96d07e (patch)
tree002e053fcda7dd2fb41e90706963b2366e83e29c /include
parentASoC: Move WM8960 platform data into include/sound (diff)
downloadlinux-913d7b4cc0d958df9f2e4bc0e6926c037d96d07e.tar.xz
linux-913d7b4cc0d958df9f2e4bc0e6926c037d96d07e.zip
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')
-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 */
};