Re: [RFC 2/4] sh: ecovec24: conditionally register backlight device
From: Dmitry Torokhov
Date: Sat Mar 17 2018 - 13:33:49 EST
On Sat, Mar 17, 2018 at 01:16:31PM -0400, Rich Felker wrote:
> On Sat, Mar 17, 2018 at 07:21:17PM +0900, John Paul Adrian Glaubitz wrote:
> >
> >
> > > On Mar 17, 2018, at 6:25 PM, jacopo mondi <jacopo@xxxxxxxxxx> wrote:
> > >
> > > Hi Dmitry,
> > >
> > >> On Fri, Mar 16, 2018 at 04:38:00PM -0700, Dmitry Torokhov wrote:
> > >> Hi Jacopo,
> > >>
> > >>> On Fri, Mar 16, 2018 at 11:07:48AM +0100, jacopo mondi wrote:
> > >>> Hello Dmitry
> > >>>
> > >>> FYI I am brushing the ecovec board these days as well
> > >>> https://www.spinics.net/lists/linux-sh/msg52536.html
> > >>>
> > >>
> > >> What is the ecovec board BTW? Is it some devkit or what? It seems quite
> > >> old to me.
> > >
> > > Yes, it is a SuperH 4 based development board. It is old for sure. I'm
> > > also working on removing some stuff the ecovec board file is the only
> > > user of...
> >
> > Umh, but Iâm still using the SH7724 Evovec board. Please donât
> > remove support for that.
> >
> > The SuperH port of the Linux kernel is still maintained.
>
> Thanks. At some point it would be nice to remove the board file, but
> only once the conversion to device tree happens. If anyone has a list
> of boards that people are still using or have access to and who can do
> testing, it would be nice to compile that somewhere so we can figure
> out what needs to be tested and who can test it.
For me I simply want to remove the custom "pen down" handler for tsc2007
from ecovec24. Unfortunately it seems with the current code you have to
switch from interrupt delivery to GPIO access on the board and it is not
really compatible with common handler and ecovec24 is the only board
that needs this custom handler support. If we can remove it then we can
switch the driver to use generic device properties only.
Note that the driver is still functional without the pendown handler, it
uses alternative methods for detecting lifting the pen, but they are
less reliable. I wonder how many people use ecovec24 with the
touchscreen.
Thanks.
--
Dmitry