Add touchscreen platform data for the Teclast X3 Plus tablet.
Subsystems (2)
PATCH 1/1 Add touchscreen platform data for the Teclast X3 Plus tablet.
Add touchscreen platform data for the Teclast X3 Plus tablet.
--- drivers/platform/x86/silead_dmi.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
drivers/platform/x86/silead_dmi.c +23 -0
@@ -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"), + }, + }, { }, };
Signature · 1 line
2.7.4
Hi,
Nitpick, please change the patch subject to:
platform/x86: silead_dmi: Add touchscreen platform data for the Teclast X3 Plus tablet
Quoted 1 line · Alberto Ponces
Add touchscreen platform data for the Teclast X3 Plus tablet. > > Signed-off-by: Alberto Ponces <[email protected]>
Otherwise looks good to me, so with the subject fixed this is:
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
Quoted 46 lines
--- drivers/platform/x86/silead_dmi.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)drivers/platform/x86/silead_dmi.c +23
-0@@ -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"), + }, + }, { }, };
PATCH v2 1/1 platform/x86: silead_dmi: Add touchscreen platform data for the Teclast X3 Plus tablet
In reply to Alberto PoncesAdd touchscreen platform data for the Teclast X3 Plus tablet.
--- drivers/platform/x86/silead_dmi.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
drivers/platform/x86/silead_dmi.c +23 -0
@@ -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"), + }, + }, { }, };
Signature · 1 line
2.7.4
Darren Hart
AppliedRe: [PATCH v2] platform/x86: silead_dmi: Add touchscreen platform data for the Teclast X3 Plus tablet
Quoted 5 lines · Alberto Ponces
Add touchscreen platform data for the Teclast X3 Plus tablet.
Reviewed-by Hans de Goede <[email protected]>Signed-off-by Alberto Ponces <[email protected]>
Queued, thanks.
Note for the future: Author signoff goes first, then reviewers, then committer.
Signature · 2 lines
Darren Hart VMware Open Source Technology Center
Re: [PATCH v2] platform/x86: silead_dmi: Add touchscreen platform data for the Teclast X3 Plus tablet
Quoted 10 lines · Darren Hart
Quoted 5 lines · Alberto Ponces
Add touchscreen platform data for the Teclast X3 Plus tablet.
Reviewed-by Hans de Goede <[email protected]>Signed-off-by Alberto Ponces <[email protected]>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.
Signature · 1 line
Dmitry
Re: [PATCH v2] platform/x86: silead_dmi: Add touchscreen platform data for the Teclast X3 Plus tablet
Quoted 10 lines · Dmitry Torokhov
Quoted 9 lines · Darren Hart
Quoted 5 lines · Alberto Ponces
Add touchscreen platform data for the Teclast X3 Plus tablet.
Reviewed-by Hans de Goede <[email protected]>Signed-off-by Alberto Ponces <[email protected]>Queued, thanks.
Quoted 7 lines
Quoted 1 line
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?
Signature · 2 lines
Darren Hart VMware Open Source Technology Center
Re: [PATCH v2] platform/x86: silead_dmi: Add touchscreen platform data for the Teclast X3 Plus tablet
Quoted 19 lines · Darren Hart
Quoted 10 lines · Dmitry Torokhov
Quoted 9 lines · Darren Hart
Quoted 5 lines · Alberto Ponces
Add touchscreen platform data for the Teclast X3 Plus tablet.
Reviewed-by Hans de Goede <[email protected]>Signed-off-by Alberto Ponces <[email protected]>Queued, thanks.
Quoted 7 lines
Quoted 1 line
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.
Quoted 6 lines
Of course, you're correct. Thank you for the correction - and Alberto, apologies for the noise/confusion.
Dmitry, I reviewed
documentation/process/submitting-patches.rstand5.Posting.rstand 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.
Signature · 1 line
Dmitry
Re: [PATCH v2] platform/x86: silead_dmi: Add touchscreen platform data for the Teclast X3 Plus tablet
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
Quoted 44 lines · Dmitry Torokhov
Quoted 19 lines · Darren Hart
Quoted 10 lines · Dmitry Torokhov
Quoted 9 lines · Darren Hart
Quoted 5 lines · Alberto Ponces
Add touchscreen platform data for the Teclast X3 Plus tablet.
Reviewed-by Hans de Goede <[email protected]>Signed-off-by Alberto Ponces <[email protected]>Queued, thanks.
Quoted 7 lines
Quoted 1 line
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.
Quoted 6 lines
Of course, you're correct. Thank you for the correction - and Alberto, apologies for the noise/confusion.
Dmitry, I reviewed
documentation/process/submitting-patches.rstand5.Posting.rstand 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.
Signature · 1 line
Dmitry