Message ID | 1516732419-125-1-git-send-email-ponces26@gmail.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Darren Hart |
Headers | show |
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.
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.
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?
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.
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
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"), + }, + }, { }, };