How do goodix.c change touch driver to polling touch detection?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do goodix.c change touch driver to polling touch detection?

362 Views
YKL
Contributor I

 

How do goodix.c change touch driver to polling touch detection?

0 Kudos
Reply
1 Reply

333 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @YKL 

I hope you are doing well.
 
linux-imx/drivers/input/touchscreen/goodix.c driver only supports interrupt mode. the probe will fail if the irq device tree property is not specified.
 
It is recommended to use interrupt mode on the touchscreen whenever possible.
 
However, One can try integrating below mentioned driver(out-of kernel tree). which has support for polling mode.
 
It will use polling mode if no irq property is specified,
 
document:
 
Thanks & Regards,
Sanket Parekh
0 Kudos
Reply