* [PATCH] Add touchscreen platform data for the Teclast X3 Plus tablet.
@ 2018-01-23 11:18 Alberto Ponces
2018-01-23 14:50 ` Hans de Goede
2018-01-23 18:33 ` [PATCH v2] platform/x86: silead_dmi: " Alberto Ponces
0 siblings, 2 replies; 8+ messages in thread
From: Alberto Ponces @ 2018-01-23 11:18 UTC (permalink / raw)
To: linux-input
Cc: ponces26, Hans de Goede, Darren Hart, Andy Shevchenko,
platform-driver-x86, linux-kernel
Add touchscreen platform data for the Teclast X3 Plus tablet.
Signed-off-by: Alberto Ponces <ponces26@gmail.com>
---
drivers/platform/x86/silead_dmi.c | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/drivers/platform/x86/silead_dmi.c b/drivers/platform/x86/silead_dmi.c
index 266535c..d4c1190 100644
--- a/drivers/platform/x86/silead_dmi.c
+++ b/drivers/platform/x86/silead_dmi.c
@@ -171,6 +171,20 @@ static const struct silead_ts_dmi_data digma_citi_e200_data = {
.properties = digma_citi_e200_props,
};
+static const struct property_entry teclast_x3_plus_props[] = {
+ PROPERTY_ENTRY_U32("touchscreen-size-x", 1980),
+ PROPERTY_ENTRY_U32("touchscreen-size-y", 1500),
+ PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-teclast-x3-plus.fw"),
+ PROPERTY_ENTRY_U32("silead,max-fingers", 10),
+ PROPERTY_ENTRY_BOOL("silead,home-button"),
+ { }
+};
+
+static const struct silead_ts_dmi_data teclast_x3_plus_data = {
+ .acpi_name = "MSSL1680:00",
+ .properties = teclast_x3_plus_props,
+};
+
static const struct dmi_system_id silead_ts_dmi_table[] = {
{
/* CUBE iwork8 Air */
@@ -271,6 +285,15 @@ static const struct dmi_system_id silead_ts_dmi_table[] = {
DMI_MATCH(DMI_BOARD_NAME, "Cherry Trail CR"),
},
},
+ {
+ /* Teclast X3 Plus */
+ .driver_data = (void *)&teclast_x3_plus_data,
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "TECLAST"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "X3 Plus"),
+ DMI_MATCH(DMI_BOARD_NAME, "X3 Plus"),
+ },
+ },
{ },
};
--
2.7.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] Add touchscreen platform data for the Teclast X3 Plus tablet.
2018-01-23 11:18 [PATCH] Add touchscreen platform data for the Teclast X3 Plus tablet Alberto Ponces
@ 2018-01-23 14:50 ` Hans de Goede
2018-01-23 18:33 ` [PATCH v2] platform/x86: silead_dmi: " Alberto Ponces
1 sibling, 0 replies; 8+ messages in thread
From: Hans de Goede @ 2018-01-23 14:50 UTC (permalink / raw)
To: Alberto Ponces, linux-input
Cc: Darren Hart, Andy Shevchenko, platform-driver-x86, linux-kernel
Hi,
Nitpick, please change the patch subject to:
platform/x86: silead_dmi: Add touchscreen platform data for the Teclast X3 Plus tablet
On 23-01-18 12:18, Alberto Ponces wrote:
> Add touchscreen platform data for the Teclast X3 Plus tablet. > > Signed-off-by: Alberto Ponces <ponces26@gmail.com>
Otherwise looks good to me, so with the subject fixed this is:
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
But you should rebase this on top of:
http://git.infradead.org/users/dvhart/linux-platform-drivers-x86.git/shortlog/refs/heads/testing
So that it can be applied cleanly by the platform/x86 maintainers.
Please send a rebased v2 with the fixed subject, you can add
me Reviewed-by to the v2 before sending it.
Regards,
Hans
> ---
> drivers/platform/x86/silead_dmi.c | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
>
> diff --git a/drivers/platform/x86/silead_dmi.c b/drivers/platform/x86/silead_dmi.c
> index 266535c..d4c1190 100644
> --- a/drivers/platform/x86/silead_dmi.c
> +++ b/drivers/platform/x86/silead_dmi.c
> @@ -171,6 +171,20 @@ static const struct silead_ts_dmi_data digma_citi_e200_data = {
> .properties = digma_citi_e200_props,
> };
>
> +static const struct property_entry teclast_x3_plus_props[] = {
> + PROPERTY_ENTRY_U32("touchscreen-size-x", 1980),
> + PROPERTY_ENTRY_U32("touchscreen-size-y", 1500),
> + PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-teclast-x3-plus.fw"),
> + PROPERTY_ENTRY_U32("silead,max-fingers", 10),
> + PROPERTY_ENTRY_BOOL("silead,home-button"),
> + { }
> +};
> +
> +static const struct silead_ts_dmi_data teclast_x3_plus_data = {
> + .acpi_name = "MSSL1680:00",
> + .properties = teclast_x3_plus_props,
> +};
> +
> static const struct dmi_system_id silead_ts_dmi_table[] = {
> {
> /* CUBE iwork8 Air */
> @@ -271,6 +285,15 @@ static const struct dmi_system_id silead_ts_dmi_table[] = {
> DMI_MATCH(DMI_BOARD_NAME, "Cherry Trail CR"),
> },
> },
> + {
> + /* Teclast X3 Plus */
> + .driver_data = (void *)&teclast_x3_plus_data,
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "TECLAST"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "X3 Plus"),
> + DMI_MATCH(DMI_BOARD_NAME, "X3 Plus"),
> + },
> + },
> { },
> };
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2] platform/x86: silead_dmi: Add touchscreen platform data for the Teclast X3 Plus tablet
2018-01-23 11:18 [PATCH] Add touchscreen platform data for the Teclast X3 Plus tablet Alberto Ponces
2018-01-23 14:50 ` Hans de Goede
@ 2018-01-23 18:33 ` Alberto Ponces
2018-01-23 23:27 ` Darren Hart
1 sibling, 1 reply; 8+ messages in thread
From: Alberto Ponces @ 2018-01-23 18:33 UTC (permalink / raw)
To: linux-input
Cc: ponces26, Hans de Goede, Darren Hart, Andy Shevchenko,
platform-driver-x86, linux-kernel
Add touchscreen platform data for the Teclast X3 Plus tablet.
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Alberto Ponces <ponces26@gmail.com>
---
drivers/platform/x86/silead_dmi.c | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/drivers/platform/x86/silead_dmi.c b/drivers/platform/x86/silead_dmi.c
index 048a82f..3a62409 100644
--- a/drivers/platform/x86/silead_dmi.c
+++ b/drivers/platform/x86/silead_dmi.c
@@ -263,6 +263,20 @@ static const struct silead_ts_dmi_data teclast_x98plus2_data = {
.properties = teclast_x98plus2_props,
};
+static const struct property_entry teclast_x3_plus_props[] = {
+ PROPERTY_ENTRY_U32("touchscreen-size-x", 1980),
+ PROPERTY_ENTRY_U32("touchscreen-size-y", 1500),
+ PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-teclast-x3-plus.fw"),
+ PROPERTY_ENTRY_U32("silead,max-fingers", 10),
+ PROPERTY_ENTRY_BOOL("silead,home-button"),
+ { }
+};
+
+static const struct silead_ts_dmi_data teclast_x3_plus_data = {
+ .acpi_name = "MSSL1680:00",
+ .properties = teclast_x3_plus_props,
+};
+
static const struct dmi_system_id silead_ts_dmi_table[] = {
{
/* CUBE iwork8 Air */
@@ -423,6 +437,15 @@ static const struct dmi_system_id silead_ts_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "X98 Plus II"),
},
},
+ {
+ /* Teclast X3 Plus */
+ .driver_data = (void *)&teclast_x3_plus_data,
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "TECLAST"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "X3 Plus"),
+ DMI_MATCH(DMI_BOARD_NAME, "X3 Plus"),
+ },
+ },
{ },
};
--
2.7.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH v2] platform/x86: silead_dmi: Add touchscreen platform data for the Teclast X3 Plus tablet
2018-01-23 18:33 ` [PATCH v2] platform/x86: silead_dmi: " Alberto Ponces
@ 2018-01-23 23:27 ` Darren Hart
2018-01-24 0:37 ` Dmitry Torokhov
0 siblings, 1 reply; 8+ messages in thread
From: Darren Hart @ 2018-01-23 23:27 UTC (permalink / raw)
To: Alberto Ponces
Cc: linux-input, Hans de Goede, Andy Shevchenko, platform-driver-x86,
linux-kernel
On Tue, Jan 23, 2018 at 06:33:38PM +0000, Alberto Ponces wrote:
> Add touchscreen platform data for the Teclast X3 Plus tablet.
>
> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
>
> Signed-off-by: Alberto Ponces <ponces26@gmail.com>
Queued, thanks.
Note for the future: Author signoff goes first, then reviewers, then committer.
--
Darren Hart
VMware Open Source Technology Center
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2] platform/x86: silead_dmi: Add touchscreen platform data for the Teclast X3 Plus tablet
2018-01-23 23:27 ` Darren Hart
@ 2018-01-24 0:37 ` Dmitry Torokhov
2018-01-24 1:02 ` Darren Hart
0 siblings, 1 reply; 8+ messages in thread
From: Dmitry Torokhov @ 2018-01-24 0:37 UTC (permalink / raw)
To: Darren Hart
Cc: Alberto Ponces, linux-input, Hans de Goede, Andy Shevchenko,
Platform Driver, lkml
On Tue, Jan 23, 2018 at 3:27 PM, Darren Hart <dvhart@infradead.org> wrote:
> On Tue, Jan 23, 2018 at 06:33:38PM +0000, Alberto Ponces wrote:
>> Add touchscreen platform data for the Teclast X3 Plus tablet.
>>
>> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
>>
>> Signed-off-by: Alberto Ponces <ponces26@gmail.com>
>
> Queued, thanks.
>
> Note for the future: Author signoff goes first, then reviewers, then committer.
In this case Alberto was the committer, so his sign-off is last, as it
should be. Any reported-by, suggested-by, acked-by or reviewed-by he
collected should go above his sign-off. Once you picked up his patch
you 'll become committer, so any markings you add should go between
his sign-off and yours.
Thanks.
--
Dmitry
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2] platform/x86: silead_dmi: Add touchscreen platform data for the Teclast X3 Plus tablet
2018-01-24 0:37 ` Dmitry Torokhov
@ 2018-01-24 1:02 ` Darren Hart
2018-01-24 1:18 ` Dmitry Torokhov
0 siblings, 1 reply; 8+ messages in thread
From: Darren Hart @ 2018-01-24 1:02 UTC (permalink / raw)
To: Dmitry Torokhov
Cc: Alberto Ponces, linux-input, Hans de Goede, Andy Shevchenko,
Platform Driver, lkml
On Tue, Jan 23, 2018 at 04:37:43PM -0800, Dmitry Torokhov wrote:
> On Tue, Jan 23, 2018 at 3:27 PM, Darren Hart <dvhart@infradead.org> wrote:
> > On Tue, Jan 23, 2018 at 06:33:38PM +0000, Alberto Ponces wrote:
> >> Add touchscreen platform data for the Teclast X3 Plus tablet.
> >>
> >> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
> >>
> >> Signed-off-by: Alberto Ponces <ponces26@gmail.com>
> >
> > Queued, thanks.
> >
> > Note for the future: Author signoff goes first, then reviewers, then committer.
>
> In this case Alberto was the committer, so his sign-off is last, as it
> should be. Any reported-by, suggested-by, acked-by or reviewed-by he
> collected should go above his sign-off. Once you picked up his patch
> you 'll become committer, so any markings you add should go between
> his sign-off and yours.
Of course, you're correct. Thank you for the correction - and Alberto, apologies
for the noise/confusion.
Dmitry, I reviewed documentation/process/submitting-patches.rst and
5.Posting.rst and didn't find this clearly defined. Have I missed where this is
documented, or is an update in order?
--
Darren Hart
VMware Open Source Technology Center
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2] platform/x86: silead_dmi: Add touchscreen platform data for the Teclast X3 Plus tablet
2018-01-24 1:02 ` Darren Hart
@ 2018-01-24 1:18 ` Dmitry Torokhov
2018-01-24 9:51 ` Alberto Ponces
0 siblings, 1 reply; 8+ messages in thread
From: Dmitry Torokhov @ 2018-01-24 1:18 UTC (permalink / raw)
To: Darren Hart
Cc: Alberto Ponces, linux-input, Hans de Goede, Andy Shevchenko,
Platform Driver, lkml
On Tue, Jan 23, 2018 at 05:02:59PM -0800, Darren Hart wrote:
> On Tue, Jan 23, 2018 at 04:37:43PM -0800, Dmitry Torokhov wrote:
> > On Tue, Jan 23, 2018 at 3:27 PM, Darren Hart <dvhart@infradead.org> wrote:
> > > On Tue, Jan 23, 2018 at 06:33:38PM +0000, Alberto Ponces wrote:
> > >> Add touchscreen platform data for the Teclast X3 Plus tablet.
> > >>
> > >> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
> > >>
> > >> Signed-off-by: Alberto Ponces <ponces26@gmail.com>
> > >
> > > Queued, thanks.
> > >
> > > Note for the future: Author signoff goes first, then reviewers, then committer.
> >
> > In this case Alberto was the committer, so his sign-off is last, as it
> > should be. Any reported-by, suggested-by, acked-by or reviewed-by he
> > collected should go above his sign-off. Once you picked up his patch
> > you 'll become committer, so any markings you add should go between
> > his sign-off and yours.
>
> Of course, you're correct. Thank you for the correction - and Alberto, apologies
> for the noise/confusion.
>
> Dmitry, I reviewed documentation/process/submitting-patches.rst and
> 5.Posting.rst and didn't find this clearly defined. Have I missed where this is
> documented, or is an update in order?
I do not think is was ever stated explicitly, the closest comes "14) The
canonical patch format" which states that sign off goes before the ---
divider.
I think it comes naturally if you consider patch vs pull request: if you
decided to pull from Alberto's tree (or anyone else's tree) instead of
taking the patch via email, then if they'd put non-sign-off tags after
the sign-off, they'd end up in your and then Linus' tree like that, as
you would not add your sign-off when doing git merge.
But if you believe this should be called explicitly then adding a few
more words to section 14 should work.
Thanks.
--
Dmitry
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2] platform/x86: silead_dmi: Add touchscreen platform data for the Teclast X3 Plus tablet
2018-01-24 1:18 ` Dmitry Torokhov
@ 2018-01-24 9:51 ` Alberto Ponces
0 siblings, 0 replies; 8+ messages in thread
From: Alberto Ponces @ 2018-01-24 9:51 UTC (permalink / raw)
To: Dmitry Torokhov
Cc: Darren Hart, linux-input, Hans de Goede, Andy Shevchenko,
Platform Driver, lkml
There is no problem whatsoever!
I'm beginner on this so every correction or warning is welcolme.
Thank you both for your help!
--
Alberto Ponces
On Tue, Jan 23, 2018 at 05:18:44PM -0800, Dmitry Torokhov wrote:
> On Tue, Jan 23, 2018 at 05:02:59PM -0800, Darren Hart wrote:
> > On Tue, Jan 23, 2018 at 04:37:43PM -0800, Dmitry Torokhov wrote:
> > > On Tue, Jan 23, 2018 at 3:27 PM, Darren Hart <dvhart@infradead.org> wrote:
> > > > On Tue, Jan 23, 2018 at 06:33:38PM +0000, Alberto Ponces wrote:
> > > >> Add touchscreen platform data for the Teclast X3 Plus tablet.
> > > >>
> > > >> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
> > > >>
> > > >> Signed-off-by: Alberto Ponces <ponces26@gmail.com>
> > > >
> > > > Queued, thanks.
> > > >
> > > > Note for the future: Author signoff goes first, then reviewers, then committer.
> > >
> > > In this case Alberto was the committer, so his sign-off is last, as it
> > > should be. Any reported-by, suggested-by, acked-by or reviewed-by he
> > > collected should go above his sign-off. Once you picked up his patch
> > > you 'll become committer, so any markings you add should go between
> > > his sign-off and yours.
> >
> > Of course, you're correct. Thank you for the correction - and Alberto, apologies
> > for the noise/confusion.
> >
> > Dmitry, I reviewed documentation/process/submitting-patches.rst and
> > 5.Posting.rst and didn't find this clearly defined. Have I missed where this is
> > documented, or is an update in order?
>
> I do not think is was ever stated explicitly, the closest comes "14) The
> canonical patch format" which states that sign off goes before the ---
> divider.
>
> I think it comes naturally if you consider patch vs pull request: if you
> decided to pull from Alberto's tree (or anyone else's tree) instead of
> taking the patch via email, then if they'd put non-sign-off tags after
> the sign-off, they'd end up in your and then Linus' tree like that, as
> you would not add your sign-off when doing git merge.
>
> But if you believe this should be called explicitly then adding a few
> more words to section 14 should work.
>
> Thanks.
>
> --
> Dmitry
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2018-01-24 9:51 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-23 11:18 [PATCH] Add touchscreen platform data for the Teclast X3 Plus tablet Alberto Ponces
2018-01-23 14:50 ` Hans de Goede
2018-01-23 18:33 ` [PATCH v2] platform/x86: silead_dmi: " Alberto Ponces
2018-01-23 23:27 ` Darren Hart
2018-01-24 0:37 ` Dmitry Torokhov
2018-01-24 1:02 ` Darren Hart
2018-01-24 1:18 ` Dmitry Torokhov
2018-01-24 9:51 ` Alberto Ponces
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).