summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8993.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-10 18:09:42 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-11 23:11:21 +0000
commitd60d6c3b65fa2156ec95d96f73e34cdb0c586458 (patch)
tree927fecb5b0947117929715993dfa3c2ef20287b9 /sound/soc/codecs/wm8993.h
parent5f2f38904019bbffb107767c55d9e781c94941ef (diff)
downloadblackbird-op-linux-d60d6c3b65fa2156ec95d96f73e34cdb0c586458.tar.gz
blackbird-op-linux-d60d6c3b65fa2156ec95d96f73e34cdb0c586458.zip
ASoC: wm_hubs: Clamp inputs to VMID while we ramp
Reduces the amount of time taken to stabilise them. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8993.h')
-rw-r--r--sound/soc/codecs/wm8993.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8993.h b/sound/soc/codecs/wm8993.h
index 2184617b9611..4478b40c86e3 100644
--- a/sound/soc/codecs/wm8993.h
+++ b/sound/soc/codecs/wm8993.h
@@ -31,6 +31,7 @@
#define WM8993_GPIO_CTRL_1 0x12
#define WM8993_GPIO1 0x13
#define WM8993_IRQ_DEBOUNCE 0x14
+#define WM8993_INPUTS_CLAMP_REG 0x15
#define WM8993_GPIOCTRL_2 0x16
#define WM8993_GPIO_POL 0x17
#define WM8993_LEFT_LINE_INPUT_1_2_VOLUME 0x18
@@ -656,6 +657,14 @@
#define WM8993_GPIO1_DB_WIDTH 1 /* GPIO1_DB */
/*
+ * R21 (0x15) - Inputs Clamp
+ */
+#define WM8993_INPUTS_CLAMP 0x0040 /* INPUTS_CLAMP */
+#define WM8993_INPUTS_CLAMP_MASK 0x0040 /* INPUTS_CLAMP */
+#define WM8993_INPUTS_CLAMP_SHIFT 7 /* INPUTS_CLAMP */
+#define WM8993_INPUTS_CLAMP_WIDTH 1 /* INPUTS_CLAMP */
+
+/*
* R22 (0x16) - GPIOCTRL 2
*/
#define WM8993_IM_JD2_EINT 0x2000 /* IM_JD2_EINT */
OpenPOWER on IntegriCloud