[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK8P3a3nFB2N7sRrS90eTECxXtwwo8EJdPvHRjnp-G5HGEt3aw@mail.gmail.com>
Date: Tue, 19 Apr 2022 17:51:45 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Robert Jarzmik <robert.jarzmik@...e.fr>
Cc: Arnd Bergmann <arnd@...db.de>,
Linus Walleij <linus.walleij@...aro.org>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Haojian Zhuang <haojian.zhuang@...il.com>,
Daniel Mack <daniel@...que.org>,
"open list:HID CORE LAYER" <linux-input@...r.kernel.org>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 28/46] input: touchscreen: mainstone: sync with zylonite driver
On Mon, Oct 28, 2019 at 10:41 PM Robert Jarzmik <robert.jarzmik@...e.fr> wrote:
>
> Arnd Bergmann <arnd@...db.de> writes:
>
> > + } else if (machine_is_zylonite()) {
> > + pen_int = 1;
> > }
> I don't understand that part, why do you check for a zylonite board in this file
> ?
>
Revisiting another old patch. The reason here is that both the zylonite and
mainstone drivers are for the same hardware, using the same "wm97xx-touch"
platform_driver name, which means that we cannot have them both built
in the same kernel on a multiplatform machine.
By making the mainstone driver deal with zylonite hardware, we can
ensure that this driver works on all the relevant machines. I'm fairly sure
my plan was to later remove the zylonite driver entirely, but for some reason
I did not include a patch for that in my series.
We can probably do that as a follow-up later.
Arnd
Powered by blists - more mailing lists