diff options
| author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-21 03:36:33 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-02-07 13:04:07 -0500 |
| commit | 2e033db5ddf299de2ae568919d78b0258a5a6423 (patch) | |
| tree | e5f156ede883eb09f6548792a84c2c81d0ecd46e /include/linux | |
| parent | f9365d07dd5cb3c76b454b4c7827b2f6339cace2 (diff) | |
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')
| -rw-r--r-- | include/linux/mfd/arizona/pdata.h | 6 |
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 { | |||
| 111 | /** Mic detect ramp rate */ | 111 | /** Mic detect ramp rate */ |
| 112 | int micd_bias_start_time; | 112 | int micd_bias_start_time; |
| 113 | 113 | ||
| 114 | /** Mic detect sample rate */ | ||
| 115 | int micd_rate; | ||
| 116 | |||
| 117 | /** Mic detect debounce level */ | ||
| 118 | int micd_dbtime; | ||
| 119 | |||
| 114 | /** Headset polarity configurations */ | 120 | /** Headset polarity configurations */ |
| 115 | struct arizona_micd_config *micd_configs; | 121 | struct arizona_micd_config *micd_configs; |
| 116 | int num_micd_configs; | 122 | int num_micd_configs; |
