From 68717677f1287e2edb612aa34ca55f504075e82e Mon Sep 17 00:00:00 2001 From: ckkim Date: Mon, 24 Jan 2022 16:17:37 +0900 Subject: [PATCH] ODROID-COMMON:touchscreen gpio interrupt for amlogic INTC Signed-off-by: ckkim Change-Id: I013b0640fd9d32f641170562829d05bb9336772b --- drivers/input/touchscreen/goodix.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c index ba0ab9963f3c..1bf05f23f1a8 100644 --- a/drivers/input/touchscreen/goodix.c +++ b/drivers/input/touchscreen/goodix.c @@ -741,6 +741,11 @@ static int goodix_ts_probe(struct i2c_client *client, } } +#ifdef CONFIG_ARCH_MESON64_ODROID_COMMON + client->irq = gpiod_to_irq(ts->gpiod_int); + if (client->irq) + dev_info(&client->dev, "GT911 irq number : %d\n", client->irq); +#endif error = goodix_i2c_test(client); if (error) { dev_err(&client->dev, "I2C communication failure: %d\n", error);