summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/twl4030.h
diff options
context:
space:
mode:
authorStanley.Miao <stanley.miao@windriver.com>2008-12-11 23:28:10 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2008-12-11 16:12:22 +0000
commit49d92c7d5bbd158734bc34ed578a68b214a48583 (patch)
tree99f3b1be80b7c27a10e8204d24c03b3bec243513 /sound/soc/codecs/twl4030.h
parent4544f8a22f38ba4560320fcfbe8c7e81562ddc6f (diff)
ASoC: TWL4030: hands-free start-up sequence.
A special start-up sequence is required to reduce the pop-noise of Class D amplifier when enable hands-free on TWL4030. Signed-off-by: Stanley.Miao <stanley.miao@windriver.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/twl4030.h')
-rw-r--r--sound/soc/codecs/twl4030.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/codecs/twl4030.h b/sound/soc/codecs/twl4030.h
index a2065d417c2e..54615c76802b 100644
--- a/sound/soc/codecs/twl4030.h
+++ b/sound/soc/codecs/twl4030.h
@@ -191,6 +191,12 @@
#define TWL4030_RAMP_DELAY_2581MS 0x1C
#define TWL4030_RAMP_EN 0x02
+/* HFL_CTL (0x29, 0x2A) Fields */
+#define TWL4030_HF_CTL_HB_EN 0x04
+#define TWL4030_HF_CTL_LOOP_EN 0x08
+#define TWL4030_HF_CTL_RAMP_EN 0x10
+#define TWL4030_HF_CTL_REF_EN 0x20
+
/* APLL_CTL (0x3A) Fields */
#define TWL4030_APLL_EN 0x10