tizen 2.4 release
[profile/mobile/platform/kernel/linux-3.10-sc7730.git] / drivers / input / keyboard / coreriver / tc350-touchkey.h
1 /*
2  * CORERIVER TOUCHCORE 360L touchkey driver
3  *
4  * Copyright (C) 2012 Samsung Electronics Co.Ltd
5  * Author: Taeyoon Yoon <tyoony.yoon@samsung.com>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation.
10  *
11  */
12 #ifndef __LINUX_TC360_H
13 #define __LINUX_TC360_H
14 #define TC300K_DEVICE   "sec_touchkey"
15 #define TC300K_MAX_KEY  4
16
17 struct tc300k_platform_data {
18         u32     keycodes[TC300K_MAX_KEY];
19         u32     gpio_scl;
20         u32     gpio_sda;
21         u32     gpio_int;
22         u32     gpio_en;
23         u32     irq_gpio_flags;
24         u32     sda_gpio_flags;
25         u32     scl_gpio_flags;
26         u32     vcc_gpio_flags;
27         u32     gpio_2p8_en;
28         u32     vcc_gpio2p8_flags;
29         int     udelay;
30         int     num_key;
31         int     sensing_ch_num;
32         const char *vcc_en_ldo_name;
33         const char *vdd_led_ldo_name;
34         const char *fw_name;
35         u8      suspend_type;
36         u8      exit_flag;
37         bool    firmup;
38 };
39 #endif /* __LINUX_TC360_H */