diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-12-18 13:02:39 -0500 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-12-18 13:02:39 -0500 |
| commit | 6d32af019a45654b6eb3ae2ff17d51ba1f045bb4 (patch) | |
| tree | 17d232cb65248c68b86aaec475f576b5134079e2 /include/linux | |
| parent | f20c86cd75f1c8c728dafd0218645ff3c5e8545d (diff) | |
| parent | 27a560ba1d4f0a07a36e1de2cae839abe776e8f3 (diff) | |
Merge branch 'next' into for-linus
Second round of input updates for 3.19.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/stmpe.h | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/include/linux/mfd/stmpe.h b/include/linux/mfd/stmpe.h index 575a86c7fcbd..f742b6717d52 100644 --- a/include/linux/mfd/stmpe.h +++ b/include/linux/mfd/stmpe.h | |||
| @@ -50,6 +50,8 @@ enum { | |||
| 50 | STMPE_IDX_GPEDR_MSB, | 50 | STMPE_IDX_GPEDR_MSB, |
| 51 | STMPE_IDX_GPRER_LSB, | 51 | STMPE_IDX_GPRER_LSB, |
| 52 | STMPE_IDX_GPFER_LSB, | 52 | STMPE_IDX_GPFER_LSB, |
| 53 | STMPE_IDX_GPPUR_LSB, | ||
| 54 | STMPE_IDX_GPPDR_LSB, | ||
| 53 | STMPE_IDX_GPAFR_U_MSB, | 55 | STMPE_IDX_GPAFR_U_MSB, |
| 54 | STMPE_IDX_IEGPIOR_LSB, | 56 | STMPE_IDX_IEGPIOR_LSB, |
| 55 | STMPE_IDX_ISGPIOR_LSB, | 57 | STMPE_IDX_ISGPIOR_LSB, |
| @@ -113,24 +115,6 @@ extern int stmpe_set_altfunc(struct stmpe *stmpe, u32 pins, | |||
| 113 | extern int stmpe_enable(struct stmpe *stmpe, unsigned int blocks); | 115 | extern int stmpe_enable(struct stmpe *stmpe, unsigned int blocks); |
| 114 | extern int stmpe_disable(struct stmpe *stmpe, unsigned int blocks); | 116 | extern int stmpe_disable(struct stmpe *stmpe, unsigned int blocks); |
| 115 | 117 | ||
| 116 | struct matrix_keymap_data; | ||
| 117 | |||
| 118 | /** | ||
| 119 | * struct stmpe_keypad_platform_data - STMPE keypad platform data | ||
| 120 | * @keymap_data: key map table and size | ||
| 121 | * @debounce_ms: debounce interval, in ms. Maximum is | ||
| 122 | * %STMPE_KEYPAD_MAX_DEBOUNCE. | ||
| 123 | * @scan_count: number of key scanning cycles to confirm key data. | ||
| 124 | * Maximum is %STMPE_KEYPAD_MAX_SCAN_COUNT. | ||
| 125 | * @no_autorepeat: disable key autorepeat | ||
| 126 | */ | ||
| 127 | struct stmpe_keypad_platform_data { | ||
| 128 | const struct matrix_keymap_data *keymap_data; | ||
| 129 | unsigned int debounce_ms; | ||
| 130 | unsigned int scan_count; | ||
| 131 | bool no_autorepeat; | ||
| 132 | }; | ||
| 133 | |||
| 134 | #define STMPE_GPIO_NOREQ_811_TOUCH (0xf0) | 118 | #define STMPE_GPIO_NOREQ_811_TOUCH (0xf0) |
| 135 | 119 | ||
| 136 | /** | 120 | /** |
| @@ -199,7 +183,6 @@ struct stmpe_ts_platform_data { | |||
| 199 | * @irq_gpio: gpio number over which irq will be requested (significant only if | 183 | * @irq_gpio: gpio number over which irq will be requested (significant only if |
| 200 | * irq_over_gpio is true) | 184 | * irq_over_gpio is true) |
| 201 | * @gpio: GPIO-specific platform data | 185 | * @gpio: GPIO-specific platform data |
| 202 | * @keypad: keypad-specific platform data | ||
| 203 | * @ts: touchscreen-specific platform data | 186 | * @ts: touchscreen-specific platform data |
| 204 | */ | 187 | */ |
| 205 | struct stmpe_platform_data { | 188 | struct stmpe_platform_data { |
| @@ -212,7 +195,6 @@ struct stmpe_platform_data { | |||
| 212 | int autosleep_timeout; | 195 | int autosleep_timeout; |
| 213 | 196 | ||
| 214 | struct stmpe_gpio_platform_data *gpio; | 197 | struct stmpe_gpio_platform_data *gpio; |
| 215 | struct stmpe_keypad_platform_data *keypad; | ||
| 216 | struct stmpe_ts_platform_data *ts; | 198 | struct stmpe_ts_platform_data *ts; |
| 217 | }; | 199 | }; |
| 218 | 200 | ||
