[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAL_Jsq+28caybU9xA+xVSWSFobEuJWgNhoq+YjPHoqpzjxhMng@mail.gmail.com>
Date: Thu, 16 Nov 2017 07:34:58 -0600
From: Rob Herring <robh+dt@...nel.org>
To: Hans de Goede <hdegoede@...hat.com>
Cc: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Benjamin Tissoires <benjamin.tissoires@...hat.com>,
Darren Hart <dvhart@...radead.org>,
Andy Shevchenko <andy@...radead.org>,
Gregor Riepl <onitake@...il.com>,
"linux-input@...r.kernel.org" <linux-input@...r.kernel.org>,
platform-driver-x86@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 1/2] Input: silead - Add support for capactive home
button found on some x86 tablets
On Thu, Oct 19, 2017 at 2:17 AM, Hans de Goede <hdegoede@...hat.com> wrote:
> On some x86 tablets with a silead touchscreen the windows logo on the
> front is a capacitive home button. Touching this button results in a touch
> with bits 12-15 of the Y coordinates set, while normally only the lower 12
> are used.
>
> Detect this and report a KEY_LEFTMETA press when this happens. Note for
> now we only respond to the Y coordinate bits 12-15 containing 0x01, on some
> tablets *without* a capacative button I've noticed these bits containing
capacitive
> 0x04 when crossing the edges of the screen.
>
> Cc: Rob Herring <robh+dt@...nel.org>
> Signed-off-by: Hans de Goede <hdegoede@...hat.com>
> ---
> Changes in v2:
> -Only enable support for the home-button if a "silead,home-button"
> boolean device-property is set on the device
>
> Changes in v3:
> -Document the new silead,home-button property in:
> Documentation/devicetree/bindings/input/touchscreen/goodix.txt
> ---
> .../bindings/input/touchscreen/silead_gsl1680.txt | 2 +
Acked-by: Rob Herring <robh@...nel.org>
> drivers/input/touchscreen/silead.c | 46 ++++++++++++++++------
> 2 files changed, 37 insertions(+), 11 deletions(-)
Powered by blists - more mailing lists