diff options
author | Mark Brown | 2013-01-11 08:55:39 +0900 |
---|---|---|
committer | Chanwoo Choi | 2013-01-15 15:42:17 +0900 |
commit | 92a49871b378b1e523a95da569cd38efdd06eee5 (patch) | |
tree | 3c23cf3eaa64350afec782787bf3f9b1e43c6791 /include/linux/mfd/arizona | |
parent | dab63eb25ced7539a51b8f4218f7b6b56d34df22 (diff) |
extcon: arizona: Support use of GPIO5 as an input to jack detection
Some system designs provide an input on GPIO5 which in conjunction with
the jack detection feature indicates the presence of an accessory.
Support such systems, using the microphone clamp feature to minimise
wakeups of the processor.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'include/linux/mfd/arizona')
-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 5b0508853290..0fc26a480be3 100644 --- a/include/linux/mfd/arizona/pdata.h +++ b/include/linux/mfd/arizona/pdata.h @@ -96,6 +96,9 @@ struct arizona_pdata { /** Pin state for GPIO pins */ int gpio_defaults[ARIZONA_MAX_GPIO]; + /** GPIO5 is used for jack detection */ + bool jd_gpio5; + /** GPIO for mic detection polarity */ int micd_pol_gpio; |