Mohan Pallaka | a259507 | 2012-01-12 22:23:15 +0530 | [diff] [blame] | 1 | /* |
| 2 | * |
| 3 | * FocalTech ft5x06 TouchScreen driver header file. |
| 4 | * |
| 5 | * Copyright (c) 2010 Focal tech Ltd. |
Duy Truong | e833aca | 2013-02-12 13:35:08 -0800 | [diff] [blame^] | 6 | * Copyright (c) 2012, The Linux Foundation. All rights reserved. |
Mohan Pallaka | a259507 | 2012-01-12 22:23:15 +0530 | [diff] [blame] | 7 | * |
| 8 | * This software is licensed under the terms of the GNU General Public |
| 9 | * License version 2, as published by the Free Software Foundation, and |
| 10 | * may be copied, distributed, and modified under those terms. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | * |
| 17 | */ |
| 18 | #ifndef __LINUX_FT5X06_TS_H__ |
| 19 | #define __LINUX_FT5X06_TS_H__ |
| 20 | |
| 21 | struct ft5x06_ts_platform_data { |
| 22 | unsigned long irqflags; |
| 23 | u32 x_max; |
| 24 | u32 y_max; |
| 25 | u32 irq_gpio; |
| 26 | u32 reset_gpio; |
| 27 | int (*power_init) (bool); |
| 28 | int (*power_on) (bool); |
| 29 | }; |
| 30 | |
| 31 | #endif |