From: Randy Dunlap <rdunlap@infradead.org>
To: Andrew Dunai <a@dun.ai>,
	linux-kernel@vger.kernel.org,
	Platform Driver <platform-driver-x86@vger.kernel.org>
Cc: "linux-input@vger.kernel.org" <linux-input@vger.kernel.org>,
	Hans de Goede <hdegoede@redhat.com>
Subject: Re: [PATCH] Add support for Vinga Twizzle J116 Silead touchscreen
Date: Mon, 4 May 2020 11:20:58 -0700	[thread overview]
Message-ID: <72bd44ab-98a8-0cdc-b7e6-104a69ca3643@infradead.org> (raw)
In-Reply-To: <20200504164514.18641-1-a@dun.ai>
Hi,
Usually you need to send patches to a maintainer who could then
merge/apply them.
On 5/4/20 9:45 AM, Andrew Dunai wrote:
> ---
>  drivers/platform/x86/touchscreen_dmi.c | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
> 
> diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c
> index 93177e6e5..a3ab19ab0 100644
> --- a/drivers/platform/x86/touchscreen_dmi.c
> +++ b/drivers/platform/x86/touchscreen_dmi.c
> @@ -640,6 +640,20 @@ static const struct ts_dmi_data trekstor_surftab_wintron70_data = {
>  	.properties	= trekstor_surftab_wintron70_props,
>  };
>  
> +static const struct property_entry vinga_twizzle_j116_props[] = {
> +	PROPERTY_ENTRY_U32("touchscreen-size-x", 1920),
> +	PROPERTY_ENTRY_U32("touchscreen-size-y", 1280),
> +	PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-vinga-twizzle_j116.fw"),
> +	PROPERTY_ENTRY_U32("silead,max-fingers", 10),
> +	PROPERTY_ENTRY_BOOL("silead,home-button"),
> +	{ }
> +};
> +
> +static const struct ts_dmi_data vinga_twizzle_j116_data = {
> +	.acpi_name	= "MSSL1680:00",
> +	.properties	= vinga_twizzle_j116_props,
> +};
> +
>  /* NOTE: Please keep this table sorted alphabetically */
>  static const struct dmi_system_id touchscreen_dmi_table[] = {
>  	{
> @@ -1054,6 +1068,13 @@ static const struct dmi_system_id touchscreen_dmi_table[] = {
>  			DMI_MATCH(DMI_PRODUCT_NAME, "Y8W81"),
>  		},
>  	},
> +	{
> +		/* Vinga Twizzle J116 */
> +		.driver_data = (void *)&vinga_twizzle_j116_data,
> +		.matches = {
> +			DMI_MATCH(DMI_PRODUCT_NAME, "VINGA Twizzle J116"),
> +		},
> +	},
>  	{ },
>  };
>  
> 
thanks.
-- 
~Randy
next      parent reply	other threads:[~2020-05-04 18:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200504164514.18641-1-a@dun.ai>
2020-05-04 18:20 ` Randy Dunlap [this message]
2020-05-05  8:38   ` [PATCH] Add support for Vinga Twizzle J116 Silead touchscreen Andy Shevchenko
2020-05-05  9:01   ` Hans de Goede
2020-05-05 10:55     ` Andy Shevchenko
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=72bd44ab-98a8-0cdc-b7e6-104a69ca3643@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=a@dun.ai \
    --cc=hdegoede@redhat.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=platform-driver-x86@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).