[PATCH v2 0/2 RESEND] input: touchcreen: tsc2007: make interrupt optional

Svyatoslav Ryhel posted 2 patches 1 month, 1 week ago
drivers/input/touchscreen/tsc2007_core.c | 30 ++++++++++++++----------
1 file changed, 17 insertions(+), 13 deletions(-)
[PATCH v2 0/2 RESEND] input: touchcreen: tsc2007: make interrupt optional
Posted by Svyatoslav Ryhel 1 month, 1 week ago
In case tsc2007 is used as an ADC sensor there will be no interrupt
provided at all, so set up an interrupt only if one is present and
remove associated warning.

---
Changes in v2:
- commit spit into making interrupt optional and changing message typefrom
  warn to dbg
---

Svyatoslav Ryhel (2):
  input: touchcreen: tsc2007: change warning to debug message if pen
    GPIO is not defined
  input: touchcreen: tsc2007: make interrupt optional

 drivers/input/touchscreen/tsc2007_core.c | 30 ++++++++++++++----------
 1 file changed, 17 insertions(+), 13 deletions(-)

-- 
2.43.0
Re: [PATCH v2 0/2 RESEND] input: touchcreen: tsc2007: make interrupt optional
Posted by Dmitry Torokhov 1 month ago
On Sun, Aug 24, 2025 at 12:19:25PM +0300, Svyatoslav Ryhel wrote:
> In case tsc2007 is used as an ADC sensor there will be no interrupt
> provided at all, so set up an interrupt only if one is present and
> remove associated warning.

Applied the lot, thank you.

-- 
Dmitry