aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/input.h2
-rw-r--r--include/linux/spi/ad7879.h12
2 files changed, 10 insertions, 4 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index b1a74fb2e436..889a4801f7be 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -376,6 +376,7 @@ struct input_absinfo {
376#define KEY_DISPLAY_OFF 245 /* display device to off state */ 376#define KEY_DISPLAY_OFF 245 /* display device to off state */
377 377
378#define KEY_WIMAX 246 378#define KEY_WIMAX 246
379#define KEY_RFKILL 247 /* Key that controls all radios */
379 380
380/* Code 255 is reserved for special needs of AT keyboard driver */ 381/* Code 255 is reserved for special needs of AT keyboard driver */
381 382
@@ -661,6 +662,7 @@ struct input_absinfo {
661#define ABS_MT_TOOL_TYPE 0x37 /* Type of touching device */ 662#define ABS_MT_TOOL_TYPE 0x37 /* Type of touching device */
662#define ABS_MT_BLOB_ID 0x38 /* Group a set of packets as a blob */ 663#define ABS_MT_BLOB_ID 0x38 /* Group a set of packets as a blob */
663#define ABS_MT_TRACKING_ID 0x39 /* Unique ID of initiated contact */ 664#define ABS_MT_TRACKING_ID 0x39 /* Unique ID of initiated contact */
665#define ABS_MT_PRESSURE 0x3a /* Pressure on contact area */
664 666
665#define ABS_MAX 0x3f 667#define ABS_MAX 0x3f
666#define ABS_CNT (ABS_MAX+1) 668#define ABS_CNT (ABS_MAX+1)
diff --git a/include/linux/spi/ad7879.h b/include/linux/spi/ad7879.h
index 4231104c9afa..6334cee1a3be 100644
--- a/include/linux/spi/ad7879.h
+++ b/include/linux/spi/ad7879.h
@@ -28,8 +28,12 @@ struct ad7879_platform_data {
28 * 1 = 4, 2 = 8, 3 = 16 (median > averaging) 28 * 1 = 4, 2 = 8, 3 = 16 (median > averaging)
29 */ 29 */
30 u8 median; 30 u8 median;
31 /* 1 = AUX/VBAT/GPIO set to GPIO Output */ 31 /* 1 = AUX/VBAT/GPIO export GPIO to gpiolib
32 u8 gpio_output; 32 * requires CONFIG_GPIOLIB
33 /* Initial GPIO pin state (valid if gpio_output = 1) */ 33 */
34 u8 gpio_default; 34 bool gpio_export;
35 /* identifies the first GPIO number handled by this chip;
36 * or, if negative, requests dynamic ID allocation.
37 */
38 s32 gpio_base;
35}; 39};