Re: [PATCH 0/5] Input: tsc2007 - drop platform data support and cleanups

From: John Paul Adrian Glaubitz

Date: Fri Nov 13 2026 - 07:40:52 EST


Hi Svyatoslav,

On Fri, 2026-11-13 at 11:33 +0200, Svyatoslav Ryhel wrote:
> чт, 12 лист. 2026 р. о 08:50 Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> пише:
> >
> > Now that all in-tree boards using tsc2007 (including SuperH ecovec24)
> > have been converted to generic device properties, this series drops
> > legacy platform data support and its header file, removes redundant
> > memory barriers, fixes minor coding style issues, skips registering a
> > non-functional input device when no interrupt is wired (when the chip is
> > used purely as an IIO ADC), and uses IRQF_NO_AUTOEN when requesting the
> > threaded interrupt.
> >
> > Thanks.
> >
> > Dmitry Torokhov (5):
> > Input: tsc2007 - drop platform data support
> > Input: tsc2007 - remove unneeded memory barriers
> > Input: tsc2007 - fix minor coding style issues
> > Input: tsc2007 - do not register input device without IRQ
> > Input: tsc2007 - use IRQF_NO_AUTOEN when requesting interrupt
> >
> > arch/sh/boards/mach-ecovec24/setup.c | 1 -
> > drivers/input/touchscreen/tsc2007.h | 5 +-
> > drivers/input/touchscreen/tsc2007_core.c | 183 ++++++++---------------
> > include/linux/platform_data/tsc2007.h | 23 ---
> > 4 files changed, 60 insertions(+), 152 deletions(-)
> > delete mode 100644 include/linux/platform_data/tsc2007.h
> >
> > --
> > 2.56.0.567.gdb80ae8cd5-goog
> >
>
> Hello Dmitry!
>
> I have tested this series on top of the latest next/master on the LG
> Optimus Vu P895. My device uses this chip as an ADC for battery
> temperature measurements.
>
> Your patches works as expected. Input device was no longer registered,
> ADC part was present and worked as intended. Thank you!
>
> All series
>
> Tested-by: Svyatoslav Ryhel <clamor95@xxxxxxxxx> # LG P895

Interesting. What kind of device is this? Is this a SuperH-based phone?

Adrian

--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913