summaryrefslogtreecommitdiff
path: root/include/linux/input/zt7554_platform_data.h
blob: a2d1e228239d393c7e42dfb5591fb0dd8bd9ccc1 (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
/*
 * Zinitix zt7554 touchscreen driver - Platform Data
 *
 * Copyright (C) 2013 Samsung Electronics Co.Ltd
 *
 * Default path : linux/input/zt7554_platform_data.h
 *
 */

#ifndef _LINUX_ZT7554_TOUCH_H
#define _LINUX_ZT7554_TOUCH_H

struct zt7554_ts_platform_data {
	int		gpio_int;
	int		gpio_scl;
	int		gpio_sda;
	int		gpio_ldo_en;
	int             (*tsp_power)(struct i2c_client *client, int on, int gpio_ctrl_pin);
	u32		x_resolution;
	u32		y_resolution;
	const char	*fw_name;
	const char	*ext_fw_name;
	u32		page_size;
	u32		orientation;
	u32		tsp_supply_type;
	int 		gpio_ctrl_pin;
};

#endif