From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Bastien Nocera <hadess@hadess.net>
Cc: Hans de Goede <hdegoede@redhat.com>, linux-input@vger.kernel.org
Subject: Re: [PATCH] Input: goodix - Add upside-down quirk for Teclast X89 tablet
Date: Sat, 7 Dec 2019 12:28:30 -0800 [thread overview]
Message-ID: <20191207202830.GR50317@dtor-ws> (raw)
In-Reply-To: <99ff833f27ce999e334d43ac511b6032f2668dc6.camel@hadess.net>
On Mon, Dec 02, 2019 at 11:16:35AM +0100, Bastien Nocera wrote:
> On Mon, 2019-12-02 at 09:56 +0100, Hans de Goede wrote:
> > The touchscreen on the Teclast X89 is mounted upside down in relation
> > to
> > the display orientation (the touchscreen itself is mounted upright,
> > but the
> > display is mounted upside-down). Add a quirk for this so that we send
> > coordinates which match the display orientation.
> >
> > Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>
> Looks good
>
> Reviewed-by: Bastien Nocera <hadess@hadess.net>
Applied, thank you.
>
> > ---
> > drivers/input/touchscreen/goodix.c | 9 +++++++++
> > 1 file changed, 9 insertions(+)
> >
> > diff --git a/drivers/input/touchscreen/goodix.c
> > b/drivers/input/touchscreen/goodix.c
> > index fb43aa708660..0403102e807e 100644
> > --- a/drivers/input/touchscreen/goodix.c
> > +++ b/drivers/input/touchscreen/goodix.c
> > @@ -128,6 +128,15 @@ static const unsigned long goodix_irq_flags[] =
> > {
> > */
> > static const struct dmi_system_id rotated_screen[] = {
> > #if defined(CONFIG_DMI) && defined(CONFIG_X86)
> > + {
> > + .ident = "Teclast X89",
> > + .matches = {
> > + /* tPAD is too generic, also match on bios date
> > */
> > + DMI_MATCH(DMI_BOARD_VENDOR, "TECLAST"),
> > + DMI_MATCH(DMI_BOARD_NAME, "tPAD"),
> > + DMI_MATCH(DMI_BIOS_DATE, "12/19/2014"),
> > + },
> > + },
> > {
> > .ident = "WinBook TW100",
> > .matches = {
>
--
Dmitry
prev parent reply other threads:[~2019-12-07 20:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-02 8:56 [PATCH] Input: goodix - Add upside-down quirk for Teclast X89 tablet Hans de Goede
2019-12-02 10:16 ` Bastien Nocera
2019-12-07 20:28 ` Dmitry Torokhov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191207202830.GR50317@dtor-ws \
--to=dmitry.torokhov@gmail.com \
--cc=hadess@hadess.net \
--cc=hdegoede@redhat.com \
--cc=linux-input@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).