1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Driver for AUO in-cell touchscreens
5 * Copyright (c) 2011 Heiko Stuebner <heiko@sntech.de>
7 * based on auo_touch.h from Dell Streak kernel
9 * Copyright (c) 2008 QUALCOMM Incorporated.
10 * Copyright (c) 2008 QUALCOMM USA, INC.
13 #ifndef __AUO_PIXCIR_TS_H__
14 #define __AUO_PIXCIR_TS_H__
18 * periodical: interrupt is asserted periodicaly
19 * compare coordinates: interrupt is asserted when coordinates change
20 * indicate touch: interrupt is asserted during touch
22 #define AUO_PIXCIR_INT_PERIODICAL 0x00
23 #define AUO_PIXCIR_INT_COMP_COORD 0x01
24 #define AUO_PIXCIR_INT_TOUCH_IND 0x02
27 * @gpio_int interrupt gpio
28 * @int_setting one of AUO_PIXCIR_INT_*
29 * @init_hw hardwarespecific init
30 * @exit_hw hardwarespecific shutdown
34 struct auo_pixcir_ts_platdata {