2010-07-15 12:55:30 +08:00
|
|
|
/*
|
2011-02-03 15:21:58 +08:00
|
|
|
* Atmel maXTouch Touchscreen driver
|
2010-07-15 12:55:30 +08:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2011-02-03 15:21:58 +08:00
|
|
|
#ifndef __LINUX_ATMEL_MXT_TS_H
|
|
|
|
#define __LINUX_ATMEL_MXT_TS_H
|
2010-07-15 12:55:30 +08:00
|
|
|
|
2011-02-16 05:36:52 +08:00
|
|
|
#include <linux/types.h>
|
|
|
|
|
2011-02-03 15:21:58 +08:00
|
|
|
/* The platform data for the Atmel maXTouch touchscreen driver */
|
|
|
|
struct mxt_platform_data {
|
2011-02-16 05:36:52 +08:00
|
|
|
const u8 *config;
|
|
|
|
size_t config_length;
|
2014-05-19 14:04:46 +08:00
|
|
|
u32 config_crc;
|
2011-02-16 05:36:52 +08:00
|
|
|
unsigned long irqflags;
|
2014-05-19 14:00:15 +08:00
|
|
|
u8 t19_num_keys;
|
|
|
|
const unsigned int *t19_keymap;
|
2010-07-15 12:55:30 +08:00
|
|
|
};
|
|
|
|
|
2011-02-03 15:21:58 +08:00
|
|
|
#endif /* __LINUX_ATMEL_MXT_TS_H */
|