summaryrefslogtreecommitdiffstats
path: root/include/sound/wm8993.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-21 17:54:52 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-22 19:00:37 +0100
commit02e79476998ba7e62842d20dca898c403ad55c7e (patch)
tree0b8494474dcd4e92c196400d80be3cf8ab898eff /include/sound/wm8993.h
parent20bac1f3f470e2d5c87af7b41b10e088e47989bb (diff)
downloadlinux-02e79476998ba7e62842d20dca898c403ad55c7e.tar.bz2
ASoC: wm_hubs: Allow configuration of MICBIAS power up delay via pdata
Sometimes the analogue circuitry connected to the microphone needs some time to settle after power up. Allow systems to configure this delay in the platform data, the driver will then insert the required delay during power up of paths that involve the microphone. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/wm8993.h')
-rw-r--r--include/sound/wm8993.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/wm8993.h b/include/sound/wm8993.h
index eee19f63c0d8..8016fd826f5a 100644
--- a/include/sound/wm8993.h
+++ b/include/sound/wm8993.h
@@ -32,6 +32,10 @@ struct wm8993_platform_data {
unsigned int lineout1fb:1;
unsigned int lineout2fb:1;
+ /* Delay to add for microphones to stabalise after power up */
+ int micbias1_delay;
+ int micbias2_delay;
+
/* Microphone biases: 0=0.9*AVDD1 1=0.65*AVVD1 */
unsigned int micbias1_lvl:1;
unsigned int micbias2_lvl:1;