All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] touchscreen_dmi.c : small changes for Archos 101 Cesium Educ tablet
@ 2023-07-14 10:51 Thomas GENTY
  2023-07-14 15:48 ` Hans de Goede
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas GENTY @ 2023-07-14 10:51 UTC (permalink / raw)
  To: hdegoede, platform-driver-x86; +Cc: tomlohave

It fixes axes and adds home button support as suggested by Hans de Goede

Signed-off-by: Thomas GENTY <tomlohave@gmail.com>
---
 drivers/platform/x86/touchscreen_dmi.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c
index a5b687eed8f3..f9301a9382e7 100644
--- a/drivers/platform/x86/touchscreen_dmi.c
+++ b/drivers/platform/x86/touchscreen_dmi.c
@@ -27,11 +27,12 @@ struct ts_dmi_data {
 /* NOTE: Please keep all entries sorted alphabetically */
 
 static const struct property_entry archos_101_cesium_educ_props[] = {
-	PROPERTY_ENTRY_U32("touchscreen-size-x", 1280),
-	PROPERTY_ENTRY_U32("touchscreen-size-y", 1850),
-	PROPERTY_ENTRY_BOOL("touchscreen-inverted-x"),
+	PROPERTY_ENTRY_U32("touchscreen-size-x", 1850),
+	PROPERTY_ENTRY_U32("touchscreen-size-y", 1280),
+	PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"),
 	PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
 	PROPERTY_ENTRY_U32("silead,max-fingers", 10),
+	PROPERTY_ENTRY_BOOL("silead,home-button"),
 	PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-archos-101-cesium-educ.fw"),
 	{ }
 };
-- 
2.41.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] touchscreen_dmi.c : small changes for Archos 101 Cesium Educ tablet
  2023-07-14 10:51 [PATCH] touchscreen_dmi.c : small changes for Archos 101 Cesium Educ tablet Thomas GENTY
@ 2023-07-14 15:48 ` Hans de Goede
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Goede @ 2023-07-14 15:48 UTC (permalink / raw)
  To: Thomas GENTY, platform-driver-x86

Hi,

On 7/14/23 12:51, Thomas GENTY wrote:
> It fixes axes and adds home button support as suggested by Hans de Goede
> 
> Signed-off-by: Thomas GENTY <tomlohave@gmail.com>

Thank you for your patch, I've applied this patch to my fixes
branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=fixes

Note it will show up in my fixes branch once I've pushed my
local branch there, which might take a while.

I will include this patch in my next fixes pull-req to Linus
for the current kernel development cycle.

Regards,

Hans



> ---
>  drivers/platform/x86/touchscreen_dmi.c | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c
> index a5b687eed8f3..f9301a9382e7 100644
> --- a/drivers/platform/x86/touchscreen_dmi.c
> +++ b/drivers/platform/x86/touchscreen_dmi.c
> @@ -27,11 +27,12 @@ struct ts_dmi_data {
>  /* NOTE: Please keep all entries sorted alphabetically */
>  
>  static const struct property_entry archos_101_cesium_educ_props[] = {
> -	PROPERTY_ENTRY_U32("touchscreen-size-x", 1280),
> -	PROPERTY_ENTRY_U32("touchscreen-size-y", 1850),
> -	PROPERTY_ENTRY_BOOL("touchscreen-inverted-x"),
> +	PROPERTY_ENTRY_U32("touchscreen-size-x", 1850),
> +	PROPERTY_ENTRY_U32("touchscreen-size-y", 1280),
> +	PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"),
>  	PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
>  	PROPERTY_ENTRY_U32("silead,max-fingers", 10),
> +	PROPERTY_ENTRY_BOOL("silead,home-button"),
>  	PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-archos-101-cesium-educ.fw"),
>  	{ }
>  };


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-14 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-14 10:51 [PATCH] touchscreen_dmi.c : small changes for Archos 101 Cesium Educ tablet Thomas GENTY
2023-07-14 15:48 ` Hans de Goede

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.