summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8903.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-02-09 20:14:42 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-02-10 10:45:05 +0000
commitc5b6a9feaeb0fa0e39e3fc10f9bf8cc8de498739 (patch)
treec8f8fb62bfec14bc807d97c93441097d2db3c42b /sound/soc/codecs/wm8903.h
parentfa9879edebdaad4cfcd2dbe3eaa2ba0dc4f0a262 (diff)
downloadblackbird-op-linux-c5b6a9feaeb0fa0e39e3fc10f9bf8cc8de498739.tar.gz
blackbird-op-linux-c5b6a9feaeb0fa0e39e3fc10f9bf8cc8de498739.zip
ASoC: Actively manage WM8903 DC servo configuration
Explicitly cache the DC servo offsets for digital paths in the driver, allowing them to be preserved over suspend and resume, and ensure that we recalibrate analogue outputs paths when they are in use so that we cover any changes in the input offset. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/codecs/wm8903.h')
-rw-r--r--sound/soc/codecs/wm8903.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8903.h b/sound/soc/codecs/wm8903.h
index e8490f3edd03..9ef394ae0dd3 100644
--- a/sound/soc/codecs/wm8903.h
+++ b/sound/soc/codecs/wm8903.h
@@ -75,6 +75,14 @@ extern int wm8903_mic_detect(struct snd_soc_codec *codec,
#define WM8903_ANALOGUE_SPK_OUTPUT_CONTROL_0 0x41
#define WM8903_DC_SERVO_0 0x43
#define WM8903_DC_SERVO_2 0x45
+#define WM8903_DC_SERVO_4 0x47
+#define WM8903_DC_SERVO_5 0x48
+#define WM8903_DC_SERVO_6 0x49
+#define WM8903_DC_SERVO_7 0x4A
+#define WM8903_DC_SERVO_READBACK_1 0x51
+#define WM8903_DC_SERVO_READBACK_2 0x52
+#define WM8903_DC_SERVO_READBACK_3 0x53
+#define WM8903_DC_SERVO_READBACK_4 0x54
#define WM8903_ANALOGUE_HP_0 0x5A
#define WM8903_ANALOGUE_LINEOUT_0 0x5E
#define WM8903_CHARGE_PUMP_0 0x62
OpenPOWER on IntegriCloud