Joonyoung Shim | 07b8481 | 2012-07-13 00:25:45 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (C) 2012 Samsung Electronics Co.Ltd |
| 3 | * Author: Joonyoung Shim <jy0922.shim@samsung.com> |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License version 2 as |
| 7 | * published by the Free Software Foundationr |
| 8 | */ |
| 9 | |
| 10 | #ifndef __LINUX_MMS114_H |
| 11 | #define __LINUX_MMS114_H |
| 12 | |
| 13 | struct mms114_platform_data { |
| 14 | unsigned int x_size; |
| 15 | unsigned int y_size; |
| 16 | unsigned int contact_threshold; |
| 17 | unsigned int moving_threshold; |
| 18 | bool x_invert; |
| 19 | bool y_invert; |
| 20 | |
| 21 | void (*cfg_pin)(bool); |
| 22 | }; |
| 23 | |
| 24 | #endif /* __LINUX_MMS114_H */ |