All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andy.shevchenko@gmail.com>
To: Hans de Goede <hdegoede@redhat.com>
Cc: Mark Gross <mgross@linux.intel.com>,
	Andy Shevchenko <andy@infradead.org>,
	Platform Driver <platform-driver-x86@vger.kernel.org>,
	russianneuromancer <russianneuromancer@ya.ru>
Subject: Re: [PATCH] platform/x86: touchscreen_dmi: Add info for the Irbis TW118 tablet
Date: Tue, 24 Nov 2020 13:35:32 +0200	[thread overview]
Message-ID: <CAHp75Vfxs0H+AsKZApsd_-7FD7riTFqv9Bx05pq6gxS7MVVvmg@mail.gmail.com> (raw)
In-Reply-To: <20201124110454.114286-1-hdegoede@redhat.com>

On Tue, Nov 24, 2020 at 1:05 PM Hans de Goede <hdegoede@redhat.com> wrote:
>
> Add touchscreen info for the Irbis TW118 tablet.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>

> Reported-and-tested-by: russianneuromancer <russianneuromancer@ya.ru>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
>  drivers/platform/x86/touchscreen_dmi.c | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>
> diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c
> index 26cbf7cc8129..5783139d0a11 100644
> --- a/drivers/platform/x86/touchscreen_dmi.c
> +++ b/drivers/platform/x86/touchscreen_dmi.c
> @@ -295,6 +295,21 @@ static const struct ts_dmi_data irbis_tw90_data = {
>         .properties     = irbis_tw90_props,
>  };
>
> +static const struct property_entry irbis_tw118_props[] = {
> +       PROPERTY_ENTRY_U32("touchscreen-min-x", 20),
> +       PROPERTY_ENTRY_U32("touchscreen-min-y", 30),
> +       PROPERTY_ENTRY_U32("touchscreen-size-x", 1960),
> +       PROPERTY_ENTRY_U32("touchscreen-size-y", 1510),
> +       PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-irbis-tw118.fw"),
> +       PROPERTY_ENTRY_U32("silead,max-fingers", 10),
> +       { }
> +};
> +
> +static const struct ts_dmi_data irbis_tw118_data = {
> +       .acpi_name      = "MSSL1680:00",
> +       .properties     = irbis_tw118_props,
> +};
> +
>  static const struct property_entry itworks_tw891_props[] = {
>         PROPERTY_ENTRY_U32("touchscreen-min-x", 1),
>         PROPERTY_ENTRY_U32("touchscreen-min-y", 5),
> @@ -953,6 +968,14 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
>                         DMI_MATCH(DMI_PRODUCT_NAME, "TW90"),
>                 },
>         },
> +       {
> +               /* Irbis TW118 */
> +               .driver_data = (void *)&irbis_tw118_data,
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "IRBIS"),
> +                       DMI_MATCH(DMI_PRODUCT_NAME, "TW118"),
> +               },
> +       },
>         {
>                 /* I.T.Works TW891 */
>                 .driver_data = (void *)&itworks_tw891_data,
> --
> 2.28.0
>


-- 
With Best Regards,
Andy Shevchenko

      reply	other threads:[~2020-11-24 11:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-24 11:04 [PATCH] platform/x86: touchscreen_dmi: Add info for the Irbis TW118 tablet Hans de Goede
2020-11-24 11:35 ` Andy Shevchenko [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=CAHp75Vfxs0H+AsKZApsd_-7FD7riTFqv9Bx05pq6gxS7MVVvmg@mail.gmail.com \
    --to=andy.shevchenko@gmail.com \
    --cc=andy@infradead.org \
    --cc=hdegoede@redhat.com \
    --cc=mgross@linux.intel.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=russianneuromancer@ya.ru \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.