summaryrefslogtreecommitdiff
path: root/goodix_ts_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'goodix_ts_core.h')
-rw-r--r--goodix_ts_core.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/goodix_ts_core.h b/goodix_ts_core.h
index 9269acd..d1a29e9 100644
--- a/goodix_ts_core.h
+++ b/goodix_ts_core.h
@@ -125,6 +125,11 @@ enum CHECKSUM_MODE {
CHECKSUM_MODE_U16_LE,
};
+enum PINCTRL_MODE {
+ PINCTRL_MODE_ACTIVE,
+ PINCTRL_MODE_SUSPEND,
+};
+
#define MAX_SCAN_FREQ_NUM 8
#define MAX_SCAN_RATE_NUM 8
#define MAX_FREQ_NUM_STYLUS 8
@@ -293,6 +298,10 @@ struct goodix_ts_board_data {
int iovdd_gpio;
unsigned int irq_flags;
+ struct pinctrl *pinctrl;
+ struct pinctrl_state *state_active;
+ struct pinctrl_state *state_suspend;
+
unsigned int swap_axis;
unsigned int panel_max_x;
unsigned int panel_max_y;