linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Input: goodix - decouple irq and reset lines
@ 2019-01-04 16:00 Alex Gonzalez
  2019-01-04 16:00 ` Alex Gonzalez
  0 siblings, 1 reply; 11+ messages in thread
From: Alex Gonzalez @ 2019-01-04 16:00 UTC (permalink / raw)
  To: hadess; +Cc: dmitry.torokhov, linux-input, linux-kernel, alex.gonzalez

The current implementation on the Goodix driver requires the two optional GPIOs
(RESET and INT) to be provided.

However, it is possible to designs the RESET line pulled-up and only provide
the INT line. Such designs do not work with the current implementation.

The patch attached allows for designs that only provide the INT line to have
a functional touch on the default I2C address, even though some functionality
like the sleep mode will not be available.

This has been tested on v4.20 with a gt911 based touch panel design that only
provides the INT line.

Alex Gonzalez (1):
  Input: goodix - decouple irq and reset lines

 drivers/input/touchscreen/goodix.c | 59 ++++++++++++++++++++------------------
 1 file changed, 31 insertions(+), 28 deletions(-)

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-01-08 17:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-04 16:00 [PATCH] Input: goodix - decouple irq and reset lines Alex Gonzalez
2019-01-04 16:00 ` Alex Gonzalez
2019-01-04 22:31   ` Andreas Gohr
2019-01-05 22:51   ` Dmitry Torokhov
2019-01-07 10:13     ` Gonzalez, Alex
2019-01-07 15:56     ` Bastien Nocera
2019-01-07 16:01       ` Bastien Nocera
2019-01-07 16:44         ` Gonzalez, Alex
2019-01-07 16:42       ` Gonzalez, Alex
2019-01-07 18:56         ` Dmitry Torokhov
2019-01-08 17:20           ` Gonzalez, Alex

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).