Re: [PATCH] platform/x86: touchscreen_dmi: Add touchscreen info for techBite Arc 11.6.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 3/30/20 10:47 PM, Wiktor Ciurej wrote:
Add touchscreen info for techBite Arc 11.6.

Signed-off-by: Wiktor Ciurej <wiktor.ciurej@xxxxxxxxx>

Patch looks good to me:

Reviewed-by: Hans de Goede <hdegoede@xxxxxxxxxx>

Regards,

Hans

p.s.

As discussed because of the touchscreen_dmi.c changes
which are coming in through the driver-core tree it is
best to merge this for 5.7.0-rc2 (rather then for rc1)


---
  drivers/platform/x86/touchscreen_dmi.c | 20 ++++++++++++++++++++
  1 file changed, 20 insertions(+)

diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c
index 93177e6e5ecd..ba43a29f68a9 100644
--- a/drivers/platform/x86/touchscreen_dmi.c
+++ b/drivers/platform/x86/touchscreen_dmi.c
@@ -537,6 +537,17 @@ static const struct ts_dmi_data schneider_sct101ctm_data = {
  	.properties	= schneider_sct101ctm_props,
  };
+static const struct property_entry techbite_arc_11_6_props[] = {
+	PROPERTY_ENTRY_U32("touchscreen-min-x", 5),
+	PROPERTY_ENTRY_U32("touchscreen-min-y", 7),
+	PROPERTY_ENTRY_U32("touchscreen-size-x", 1981),
+	PROPERTY_ENTRY_U32("touchscreen-size-y", 1270),
+	PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"),
+	PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-techbite-arc-11-6.fw"),
+	PROPERTY_ENTRY_U32("silead,max-fingers", 10),
+	{ }
+};
+
  static const struct property_entry teclast_x3_plus_props[] = {
  	PROPERTY_ENTRY_U32("touchscreen-size-x", 1980),
  	PROPERTY_ENTRY_U32("touchscreen-size-y", 1500),
@@ -969,6 +980,15 @@ static const struct dmi_system_id touchscreen_dmi_table[] = {
  			DMI_MATCH(DMI_PRODUCT_NAME, "SCT101CTM"),
  		},
  	},
+	{
+		/* Techbite Arc 11.6 */
+		.driver_data = (void *)&techbite_arc_11_6_data,
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "mPTech"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "techBite Arc 11.6"),
+			DMI_MATCH(DMI_BOARD_NAME, "G8316_272B"),
+		},
+	},
  	{
  		/* Teclast X3 Plus */
  		.driver_data = (void *)&teclast_x3_plus_data,





[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux