Naveen Kumar Gaddipati | 4780c8d | 2010-10-04 22:32:48 -0700 | [diff] [blame] | 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 |
Naveen Kumar Gaddipati | 4780c8d | 2010-10-04 22:32:48 -0700 | [diff] [blame] | 12 | * @touch_x_max: touch x max |
| 13 | * @touch_y_max: touch y max |
| 14 | * @cs_pin: chip select pin |
Lee Jones | 31fbcda | 2012-09-28 10:29:07 +0100 | [diff] [blame] | 15 | * @touch_pin: touch gpio pin |
Naveen Kumar Gaddipati | 4780c8d | 2010-10-04 22:32:48 -0700 | [diff] [blame] | 16 | * @ext_clk: external clock flag |
| 17 | * @x_flip: x flip flag |
| 18 | * @y_flip: y flip flag |
| 19 | * @wakeup: wakeup flag |
| 20 | * |
| 21 | * This is used to handle the platform data |
| 22 | */ |
| 23 | struct bu21013_platform_device { |
Naveen Kumar Gaddipati | 4780c8d | 2010-10-04 22:32:48 -0700 | [diff] [blame] | 24 | int touch_x_max; |
| 25 | int touch_y_max; |
| 26 | unsigned int cs_pin; |
Lee Jones | 31fbcda | 2012-09-28 10:29:07 +0100 | [diff] [blame] | 27 | unsigned int touch_pin; |
Naveen Kumar Gaddipati | 4780c8d | 2010-10-04 22:32:48 -0700 | [diff] [blame] | 28 | bool ext_clk; |
| 29 | bool x_flip; |
| 30 | bool y_flip; |
| 31 | bool wakeup; |
| 32 | }; |
| 33 | |
| 34 | #endif |