From 8c95cc8818497522076ffa473663999356e668ee Mon Sep 17 00:00:00 2001 From: "jack@armsom.org" Date: Fri, 22 Nov 2024 19:55:15 +0800 Subject: [PATCH] driver: add touch gt9271 configuration --- drivers/input/touchscreen/gt9xx/gt9xx.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/input/touchscreen/gt9xx/gt9xx.c b/drivers/input/touchscreen/gt9xx/gt9xx.c index 93fb525dac313..3240336580338 100644 --- a/drivers/input/touchscreen/gt9xx/gt9xx.c +++ b/drivers/input/touchscreen/gt9xx/gt9xx.c @@ -2656,6 +2656,11 @@ static int goodix_ts_probe(struct i2c_client *client, const struct i2c_device_id gtp_change_x2y = TRUE; gtp_x_reverse = FALSE; gtp_y_reverse = TRUE; + } else if (val == 9271) { + m89or101 = TRUE; + gtp_change_x2y = TRUE; + gtp_x_reverse = TRUE; + gtp_y_reverse = FALSE; } else if (val == 101) { m89or101 = FALSE; gtp_change_x2y = TRUE;