diff options
| author | James Morris <james.l.morris@oracle.com> | 2014-11-19 05:32:12 -0500 |
|---|---|---|
| committer | James Morris <james.l.morris@oracle.com> | 2014-11-19 05:32:12 -0500 |
| commit | b10778a00d40b3d9fdaaf5891e802794781ff71c (patch) | |
| tree | 6ba4cbac86eecedc3f30650e7f764ecf00c83898 /include/linux/input | |
| parent | 594081ee7145cc30a3977cb4e218f81213b63dc5 (diff) | |
| parent | bfe01a5ba2490f299e1d2d5508cbbbadd897bbe9 (diff) | |
Merge commit 'v3.17' into next
Diffstat (limited to 'include/linux/input')
| -rw-r--r-- | include/linux/input/mt.h | 1 | ||||
| -rw-r--r-- | include/linux/input/pixcir_ts.h | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/input/mt.h b/include/linux/input/mt.h index 1b1dfa80d9ff..f583ff639776 100644 --- a/include/linux/input/mt.h +++ b/include/linux/input/mt.h | |||
| @@ -105,6 +105,7 @@ void input_mt_report_slot_state(struct input_dev *dev, | |||
| 105 | 105 | ||
| 106 | void input_mt_report_finger_count(struct input_dev *dev, int count); | 106 | void input_mt_report_finger_count(struct input_dev *dev, int count); |
| 107 | void input_mt_report_pointer_emulation(struct input_dev *dev, bool use_count); | 107 | void input_mt_report_pointer_emulation(struct input_dev *dev, bool use_count); |
| 108 | void input_mt_drop_unused(struct input_dev *dev); | ||
| 108 | 109 | ||
| 109 | void input_mt_sync_frame(struct input_dev *dev); | 110 | void input_mt_sync_frame(struct input_dev *dev); |
| 110 | 111 | ||
diff --git a/include/linux/input/pixcir_ts.h b/include/linux/input/pixcir_ts.h index 160cf353aa39..7bae83b7c396 100644 --- a/include/linux/input/pixcir_ts.h +++ b/include/linux/input/pixcir_ts.h | |||
| @@ -43,10 +43,22 @@ enum pixcir_int_mode { | |||
| 43 | #define PIXCIR_INT_ENABLE (1UL << 3) | 43 | #define PIXCIR_INT_ENABLE (1UL << 3) |
| 44 | #define PIXCIR_INT_POL_HIGH (1UL << 2) | 44 | #define PIXCIR_INT_POL_HIGH (1UL << 2) |
| 45 | 45 | ||
| 46 | /** | ||
| 47 | * struct pixcir_irc_chip_data - chip related data | ||
| 48 | * @max_fingers: Max number of fingers reported simultaneously by h/w | ||
| 49 | * @has_hw_ids: Hardware supports finger tracking IDs | ||
| 50 | * | ||
| 51 | */ | ||
| 52 | struct pixcir_i2c_chip_data { | ||
| 53 | u8 max_fingers; | ||
| 54 | bool has_hw_ids; | ||
| 55 | }; | ||
| 56 | |||
| 46 | struct pixcir_ts_platform_data { | 57 | struct pixcir_ts_platform_data { |
| 47 | int x_max; | 58 | int x_max; |
| 48 | int y_max; | 59 | int y_max; |
| 49 | int gpio_attb; /* GPIO connected to ATTB line */ | 60 | int gpio_attb; /* GPIO connected to ATTB line */ |
| 61 | struct pixcir_i2c_chip_data chip; | ||
| 50 | }; | 62 | }; |
| 51 | 63 | ||
| 52 | #endif | 64 | #endif |
