Change-Id: I754250669891307b0deab2bdab1bd01512713f79 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
24 lines
324 B
C
24 lines
324 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __LINUX_CT36X__
|
|
#define __LINUX_CT36X__
|
|
|
|
#define CT36X_NAME "ct36x_ts"
|
|
|
|
struct ct36x_gpio{
|
|
int gpio;
|
|
int active_low;
|
|
};
|
|
|
|
struct ct36x_platform_data{
|
|
int model;
|
|
|
|
int x_max;
|
|
int y_max;
|
|
|
|
struct ct36x_gpio rst_io;
|
|
struct ct36x_gpio irq_io;
|
|
|
|
int orientation[4];
|
|
};
|
|
|
|
#endif
|