diff options
| author | Jens Axboe <jaxboe@fusionio.com> | 2010-11-16 04:09:42 -0500 |
|---|---|---|
| committer | Jens Axboe <jaxboe@fusionio.com> | 2010-11-16 04:09:42 -0500 |
| commit | a02056349cdea2252cd2b21643ebf025e83a29f2 (patch) | |
| tree | b7c889d6cbe8e7188d07d99a5c9da858c53a5b6c /include/linux/input | |
| parent | 34db1d595ef6f183fbc1e42cda45a3dfa0035258 (diff) | |
| parent | e53beacd23d9cb47590da6a7a7f6d417b941a994 (diff) | |
Merge branch 'v2.6.37-rc2' into for-2.6.38/core
Diffstat (limited to 'include/linux/input')
| -rw-r--r-- | include/linux/input/bu21013.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/include/linux/input/bu21013.h b/include/linux/input/bu21013.h new file mode 100644 index 000000000000..e470d387dd49 --- /dev/null +++ b/include/linux/input/bu21013.h | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) ST-Ericsson SA 2010 | ||
| 3 | * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson | ||
| 4 | * License terms:GNU General Public License (GPL) version 2 | ||
| 5 | */ | ||
| 6 | |||
| 7 | #ifndef _BU21013_H | ||
| 8 | #define _BU21013_H | ||
| 9 | |||
| 10 | /** | ||
| 11 | * struct bu21013_platform_device - Handle the platform data | ||
| 12 | * @cs_en: pointer to the cs enable function | ||
| 13 | * @cs_dis: pointer to the cs disable function | ||
| 14 | * @irq_read_val: pointer to read the pen irq value function | ||
| 15 | * @x_max_res: xmax resolution | ||
| 16 | * @y_max_res: ymax resolution | ||
| 17 | * @touch_x_max: touch x max | ||
| 18 | * @touch_y_max: touch y max | ||
| 19 | * @cs_pin: chip select pin | ||
| 20 | * @irq: irq pin | ||
| 21 | * @ext_clk: external clock flag | ||
| 22 | * @x_flip: x flip flag | ||
| 23 | * @y_flip: y flip flag | ||
| 24 | * @wakeup: wakeup flag | ||
| 25 | * | ||
| 26 | * This is used to handle the platform data | ||
| 27 | */ | ||
| 28 | struct bu21013_platform_device { | ||
| 29 | int (*cs_en)(int reset_pin); | ||
| 30 | int (*cs_dis)(int reset_pin); | ||
| 31 | int (*irq_read_val)(void); | ||
| 32 | int x_max_res; | ||
| 33 | int y_max_res; | ||
| 34 | int touch_x_max; | ||
| 35 | int touch_y_max; | ||
| 36 | unsigned int cs_pin; | ||
| 37 | unsigned int irq; | ||
| 38 | bool ext_clk; | ||
| 39 | bool x_flip; | ||
| 40 | bool y_flip; | ||
| 41 | bool wakeup; | ||
| 42 | }; | ||
| 43 | |||
| 44 | #endif | ||
