diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-11 16:44:43 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-11 16:44:43 -0500 |
| commit | 105cf1fe1d4a282bec1849dbbf608157c5e04f07 (patch) | |
| tree | 1d1c83402d2790054f687dd4605973c29662f0d9 /include/linux | |
| parent | 1c7db96f6feac95d90200ddd0f9b5d94614ea759 (diff) | |
| parent | bf14ee5a460276a99ed35f9034bae9e74b01600f (diff) | |
Merge tag 'extcon-arizona-3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc into char-misc-next
Mark writes:
extcon: arizona: Updates for v3.9
More updates for v3.9, a mix of fixes for the code that's already there
and a few new features.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/arizona/pdata.h | 9 | ||||
| -rw-r--r-- | include/linux/mfd/arizona/registers.h | 8 |
2 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/mfd/arizona/pdata.h b/include/linux/mfd/arizona/pdata.h index bcbe4fda87cb..f8241753415c 100644 --- a/include/linux/mfd/arizona/pdata.h +++ b/include/linux/mfd/arizona/pdata.h | |||
| @@ -111,6 +111,15 @@ 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 | |||
| 120 | /** Force MICBIAS on for mic detect */ | ||
| 121 | bool micd_force_micbias; | ||
| 122 | |||
| 114 | /** Headset polarity configurations */ | 123 | /** Headset polarity configurations */ |
| 115 | struct arizona_micd_config *micd_configs; | 124 | struct arizona_micd_config *micd_configs; |
| 116 | int num_micd_configs; | 125 | int num_micd_configs; |
diff --git a/include/linux/mfd/arizona/registers.h b/include/linux/mfd/arizona/registers.h index 79e9dd4073d8..188d89abd963 100644 --- a/include/linux/mfd/arizona/registers.h +++ b/include/linux/mfd/arizona/registers.h | |||
| @@ -5267,6 +5267,14 @@ | |||
| 5267 | /* | 5267 | /* |
| 5268 | * R3408 (0xD50) - AOD wkup and trig | 5268 | * R3408 (0xD50) - AOD wkup and trig |
| 5269 | */ | 5269 | */ |
| 5270 | #define ARIZONA_MICD_CLAMP_FALL_TRIG_STS 0x0080 /* MICD_CLAMP_FALL_TRIG_STS */ | ||
| 5271 | #define ARIZONA_MICD_CLAMP_FALL_TRIG_STS_MASK 0x0080 /* MICD_CLAMP_FALL_TRIG_STS */ | ||
| 5272 | #define ARIZONA_MICD_CLAMP_FALL_TRIG_STS_SHIFT 7 /* MICD_CLAMP_FALL_TRIG_STS */ | ||
| 5273 | #define ARIZONA_MICD_CLAMP_FALL_TRIG_STS_WIDTH 1 /* MICD_CLAMP_FALL_TRIG_STS */ | ||
| 5274 | #define ARIZONA_MICD_CLAMP_RISE_TRIG_STS 0x0040 /* MICD_CLAMP_RISE_TRIG_STS */ | ||
| 5275 | #define ARIZONA_MICD_CLAMP_RISE_TRIG_STS_MASK 0x0040 /* MICD_CLAMP_RISE_TRIG_STS */ | ||
| 5276 | #define ARIZONA_MICD_CLAMP_RISE_TRIG_STS_SHIFT 6 /* MICD_CLAMP_RISE_TRIG_STS */ | ||
| 5277 | #define ARIZONA_MICD_CLAMP_RISE_TRIG_STS_WIDTH 1 /* MICD_CLAMP_RISE_TRIG_STS */ | ||
| 5270 | #define ARIZONA_GP5_FALL_TRIG_STS 0x0020 /* GP5_FALL_TRIG_STS */ | 5278 | #define ARIZONA_GP5_FALL_TRIG_STS 0x0020 /* GP5_FALL_TRIG_STS */ |
| 5271 | #define ARIZONA_GP5_FALL_TRIG_STS_MASK 0x0020 /* GP5_FALL_TRIG_STS */ | 5279 | #define ARIZONA_GP5_FALL_TRIG_STS_MASK 0x0020 /* GP5_FALL_TRIG_STS */ |
| 5272 | #define ARIZONA_GP5_FALL_TRIG_STS_SHIFT 5 /* GP5_FALL_TRIG_STS */ | 5280 | #define ARIZONA_GP5_FALL_TRIG_STS_SHIFT 5 /* GP5_FALL_TRIG_STS */ |
