diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-01 18:21:48 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-02 10:54:06 (GMT) |
commit | cd59e79656f4e7137909166248a935d422b1245a (patch) | |
tree | 008f928dbea75080e8498ae48b9af2ebac8c4b04 /include/linux/mfd | |
parent | 41a57850b5e5c450da351465efcc41383def7f8a (diff) | |
download | linux-fsl-qoriq-cd59e79656f4e7137909166248a935d422b1245a.tar.xz |
extcon: arizona: Allow additional debounce during microphone detection
Help mitigate against mechanical bounce during the initial detection by
allowing the configuration of an additional debounce on top of that the
hardware does during the initial phase of microphone detection operation.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/arizona/pdata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mfd/arizona/pdata.h b/include/linux/mfd/arizona/pdata.h index 45c8477..3ef300b 100644 --- a/include/linux/mfd/arizona/pdata.h +++ b/include/linux/mfd/arizona/pdata.h @@ -134,6 +134,9 @@ struct arizona_pdata { /** GPIO used for mic isolation with HPDET */ int hpdet_id_gpio; + /** Extra debounce timeout used during initial mic detection (ms) */ + int micd_detect_debounce; + /** GPIO for mic detection polarity */ int micd_pol_gpio; |