Commit | Line | Data |
---|---|---|
4cf51c38 | 1 | /* |
7686b108 | 2 | * Atmel maXTouch Touchscreen driver |
4cf51c38 JS |
3 | * |
4 | * Copyright (C) 2010 Samsung Electronics Co.Ltd | |
5 | * Author: Joonyoung Shim <jy0922.shim@samsung.com> | |
6 | * | |
7 | * This program is free software; you can redistribute it and/or modify it | |
8 | * under the terms of the GNU General Public License as published by the | |
9 | * Free Software Foundation; either version 2 of the License, or (at your | |
10 | * option) any later version. | |
11 | */ | |
12 | ||
7f3884f7 ND |
13 | #ifndef __LINUX_PLATFORM_DATA_ATMEL_MXT_TS_H |
14 | #define __LINUX_PLATFORM_DATA_ATMEL_MXT_TS_H | |
4cf51c38 | 15 | |
71749f5c IV |
16 | #include <linux/types.h> |
17 | ||
7f3884f7 ND |
18 | enum mxt_suspend_mode { |
19 | MXT_SUSPEND_DEEP_SLEEP = 0, | |
20 | MXT_SUSPEND_T9_CTRL = 1, | |
21 | }; | |
22 | ||
7686b108 IV |
23 | /* The platform data for the Atmel maXTouch touchscreen driver */ |
24 | struct mxt_platform_data { | |
919ed895 | 25 | unsigned long irqflags; |
fb5e4c3e ND |
26 | u8 t19_num_keys; |
27 | const unsigned int *t19_keymap; | |
7f3884f7 | 28 | enum mxt_suspend_mode suspend_mode; |
4cf51c38 JS |
29 | }; |
30 | ||
7f3884f7 | 31 | #endif /* __LINUX_PLATFORM_DATA_ATMEL_MXT_TS_H */ |