diff options
| author | Evan Wilson <evan@oliodevices.com> | 2015-07-25 14:25:11 -0700 |
|---|---|---|
| committer | Evan Wilson <evan@oliodevices.com> | 2015-07-25 14:25:11 -0700 |
| commit | bb39f055aa4ca296019f355633060974c85928d9 (patch) | |
| tree | c77f8be215f4affb95aadb27d3f6b2721f7c2e49 /include/linux/platform_data/atmel_mxt_ts.h | |
| parent | a6eec3c603b23f28e62e0a12adb61b7b290731d4 (diff) | |
| parent | c497cf80cda116bc2c2f478b96f21a917e5ca464 (diff) | |
| download | olio-linux-3.10-bb39f055aa4ca296019f355633060974c85928d9.tar.xz olio-linux-3.10-bb39f055aa4ca296019f355633060974c85928d9.zip | |
Merge tag 'maxtouch-v3.10-20150501' into android-3.10-bringup
atmel_mxt_ts driver for Linux kernel v3.10
Diffstat (limited to 'include/linux/platform_data/atmel_mxt_ts.h')
| -rw-r--r-- | include/linux/platform_data/atmel_mxt_ts.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/linux/platform_data/atmel_mxt_ts.h b/include/linux/platform_data/atmel_mxt_ts.h new file mode 100644 index 00000000000..be6fa95a661 --- /dev/null +++ b/include/linux/platform_data/atmel_mxt_ts.h @@ -0,0 +1,32 @@ +/* + * Atmel maXTouch Touchscreen driver + * + * Copyright (C) 2010 Samsung Electronics Co.Ltd + * Author: Joonyoung Shim <jy0922.shim@samsung.com> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + */ + +#ifndef __LINUX_PLATFORM_DATA_ATMEL_MXT_TS_H +#define __LINUX_PLATFORM_DATA_ATMEL_MXT_TS_H + +#include <linux/types.h> +#include <dt-bindings/input/atmel_mxt_ts.h> + +/* The platform data for the Atmel maXTouch touchscreen driver */ +struct mxt_platform_data { + unsigned long irqflags; + u8 t19_num_keys; + const unsigned int *t19_keymap; + enum mxt_suspend_mode suspend_mode; + int t15_num_keys; + const unsigned int *t15_keymap; + unsigned long gpio_reset; + const char *cfg_name; + const char *input_name; +}; + +#endif /* __LINUX_PLATFORM_DATA_ATMEL_MXT_TS_H */ |