summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/arizona/pdata.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-21 17:36:33 +0900
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-02-07 18:04:07 +0000
commit2e033db5ddf299de2ae568919d78b0258a5a6423 (patch)
treee5f156ede883eb09f6548792a84c2c81d0ecd46e /include/linux/mfd/arizona/pdata.h
parentf9365d07dd5cb3c76b454b4c7827b2f6339cace2 (diff)
downloadlinux-2e033db5ddf299de2ae568919d78b0258a5a6423.tar.bz2
extcon: arizona: Support additional configuration of microphone detection
Allow systems to tune detection rate and debounce suitably for their mechanical parameters. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/mfd/arizona/pdata.h')
-rw-r--r--include/linux/mfd/arizona/pdata.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mfd/arizona/pdata.h b/include/linux/mfd/arizona/pdata.h
index bcbe4fda87cb..2f5f08e10b79 100644
--- a/include/linux/mfd/arizona/pdata.h
+++ b/include/linux/mfd/arizona/pdata.h
@@ -111,6 +111,12 @@ struct arizona_pdata {
/** Mic detect ramp rate */
int micd_bias_start_time;
+ /** Mic detect sample rate */
+ int micd_rate;
+
+ /** Mic detect debounce level */
+ int micd_dbtime;
+
/** Headset polarity configurations */
struct arizona_micd_config *micd_configs;
int num_micd_configs;