blob: c8000e91144710a79d325e495b30c973dab4b9e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#ifndef _LINUX_WACOM_I2C_H_
#define _LINUX_WACOM_I2C_H_
/*sec_class sysfs*/
extern struct class *sec_class;
#ifdef CONFIG_BATTERY_SAMSUNG
extern unsigned int lpcharge;
#endif
struct wacom_g5_platform_data {
int irq_gpio;
int pdct_gpio;
int fwe_gpio;
int boot_addr;
int irq_type;
int x_invert;
int y_invert;
int xy_switch;
bool use_dt_coord;
u32 origin[2];
int max_x;
int max_y;
int max_pressure;
int max_x_tilt;
int max_y_tilt;
int max_height;
const char *fw_path;
#ifdef CONFIG_SEC_FACTORY
const char *fw_fac_path;
#endif
u32 ic_type;
const char *project_name;
const char *model_name;
bool use_virtual_softkey;
bool use_garage;
bool support_dex;
u32 dex_rate;
bool table_swap;
};
#endif /* _LINUX_WACOM_I2C_H */
|