Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp270319lqr; Wed, 5 Jun 2024 05:49:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVvDZTkPDtOY0d2Nxv0AoIpgeEi6k6hF+eQ9nuUgmKjttaoNTUViU+klwn2s1rT1CHqr/tCSiBYmcIUuAr5S/Bk20qYN8eJ/ic//N/1Yg== X-Google-Smtp-Source: AGHT+IFUL30gGRuMuZsQZDWvM8hzKgeOwzl27QP3H9Bnb022jaIfy1eXQL6PTb8tsiAI/HVFdbtz X-Received: by 2002:a05:6870:7185:b0:250:7237:e524 with SMTP id 586e51a60fabf-25121e4b5dcmr2650449fac.34.1717591790956; Wed, 05 Jun 2024 05:49:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717591790; cv=pass; d=google.com; s=arc-20160816; b=Anrhbh+Ejs9cy9mkNQK6dZY5QhB3vC/e8DSBU5YaXa9E+6W8TvDFOKhCJ6smkpVtyf yUtPDNqd+n+wrC8CXP86I+yN5GUfjejtA7XxfkIK+lXZeSqPSfnoUuZo0ZLd7ZJqpMMS TVH5rIpHDlCPqFnNKmR2RbwCtDPdkk0T1zR/Py6DOuwn1LsG7uDaXkKA+3mQvzBqyEo3 W3ll4bAc0ZNDc9JwIUPMJ8/XAu1zFFTkWtux0eux32aKr3b6JZnsqh+EjPvQyNKyfgZJ 5VswUn/QVMRBUHLOTWARoD24kJS0oys3sbICqQxqHvzz+VQ8aMP3YDZBA5S+TNhE9XDN i0XA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=zyduQf5jJaFSGQCQlcHzK0+Gwk8NM4IPwF5gNCjM1gI=; fh=ufy1yPai0OL39ZcP6SVjHLpfpU0FYkLSCpYkddZ4TbA=; b=WuU8gKSoW3As3+9Uw/rDthuBQY0+c5AerxAWtpgTKg6WAzt38fb1tVGco+av0uAMnL cJxI34Hz4HaE1Tm0eG8uSGm6rXSxO0KppWx2plWbty2PTemR8mpbmFqvGpLEar1Rh1yr C+H/bV68+V/jC3eMN5/vVdIrOKOhj5ja+9e1k9Ewpne0Nu1pl/0ZTyIakD9T8zrxovor vpibK+O7InlnTTlYFTIrHf1xhFSdZAnqiQqVMBrWPpQtXhKLFmW0JIe464Pkn0uhbwze BC490kA6caNq0ZcryE6q1/sE0xY5QHKUveFkBOvKuPANORq50RNBB3Pgi5WtLq9f2GeF qLcQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UFTTKJ0J; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-202534-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202534-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794f32a55a7si1213988485a.575.2024.06.05.05.49.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 05:49:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202534-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UFTTKJ0J; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-202534-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202534-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A94321C22FF0 for ; Wed, 5 Jun 2024 12:49:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D77241ABCC4; Wed, 5 Jun 2024 12:05:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UFTTKJ0J" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE9621CE8EA; Wed, 5 Jun 2024 12:05:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717589142; cv=none; b=KZyKzVVdgARzYXMPENmDeN3oxiLjCTE9ZvqxC3Pl84f+Q1tYqc4NpUwSh3OdYetCkANE0AJOHPsRZsT9n9AihDLqrHBmZtXNsxd2nR5hOOiSmmw2TK3Q5TYUgCrIQgB60mj3+aix47QbhEygYUkIP4a02XGCjohsdi8r518hTO0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717589142; c=relaxed/simple; bh=jAQ5UYbIswp6tS0TwiovJJ6GEZiaPoqf4KA/WvCjeUU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SkCtZpQLNvQPRrchiXBbrsspy0dxsih7/YQ+bb4sWsrJJ50pvXUK54n2odrxn/ZXS+9HAlrE7JWECxvHtp+20f9MRDjO2s+FTFw1o3E4cDhNR8ODUPJ7bt2ijL37tzZdjr8KD52+549gWXLi5nGtFAM0Id4Aae8hMuX9bcAkoYo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UFTTKJ0J; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1682C3277B; Wed, 5 Jun 2024 12:05:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717589141; bh=jAQ5UYbIswp6tS0TwiovJJ6GEZiaPoqf4KA/WvCjeUU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UFTTKJ0J1Wt6sMzigaZztgsgrwUytzGymAOXYAIj5h5QjQXMnNDAo961oKHTqUAEW RiRhJdA+kTnZPt3WencxaMZ1dp6xAzptk5ycB0eQI9MTBotZm8UAcp2DnznV9rEU6j 13dSkam6rGI+VO7raXHtGsP2xcDcbGK55jmr8L3fJcU/CTIEKQsddX18FoURtnC1NA AI0PihRdLB0h83fjiQXq40tbYrboJyvJEGyy0Oez56z6rovcXhRA8nUgEAK2QUJ4nX 3Ex0E62zToCW9gHW5cXmoJf8qA98MjdRNM//Gf3qXmjTKnUHuOqsULsGxo2jhZIHdA Ek0YHgDb/dfXA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: hmtheboy154 , Hans de Goede , Sasha Levin , ilpo.jarvinen@linux.intel.com, linux-input@vger.kernel.org, platform-driver-x86@vger.kernel.org Subject: [PATCH AUTOSEL 5.15 07/12] platform/x86: touchscreen_dmi: Add info for GlobalSpace SolT IVW 11.6" tablet Date: Wed, 5 Jun 2024 08:05:17 -0400 Message-ID: <20240605120528.2967750-7-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240605120528.2967750-1-sashal@kernel.org> References: <20240605120528.2967750-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 5.15.160 Content-Transfer-Encoding: 8bit From: hmtheboy154 [ Upstream commit 7c8639aa41343fd7b3dbe09baf6b0791fcc407a1 ] This is a tablet created by GlobalSpace Technologies Limited which uses an Intel Atom x5-Z8300, 4GB of RAM & 64GB of storage. Link: https://web.archive.org/web/20171102141952/http://globalspace.in/11.6-device.html Signed-off-by: hmtheboy154 Reviewed-by: Hans de Goede Signed-off-by: Hans de Goede Link: https://lore.kernel.org/r/20240527091447.248849-2-hdegoede@redhat.com Signed-off-by: Sasha Levin --- drivers/platform/x86/touchscreen_dmi.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c index 0308c90db8e30..c59f829d397f2 100644 --- a/drivers/platform/x86/touchscreen_dmi.c +++ b/drivers/platform/x86/touchscreen_dmi.c @@ -877,6 +877,22 @@ static const struct ts_dmi_data schneider_sct101ctm_data = { .properties = schneider_sct101ctm_props, }; +static const struct property_entry globalspace_solt_ivw116_props[] = { + PROPERTY_ENTRY_U32("touchscreen-min-x", 7), + PROPERTY_ENTRY_U32("touchscreen-min-y", 22), + PROPERTY_ENTRY_U32("touchscreen-size-x", 1723), + PROPERTY_ENTRY_U32("touchscreen-size-y", 1077), + PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-globalspace-solt-ivw116.fw"), + PROPERTY_ENTRY_U32("silead,max-fingers", 10), + PROPERTY_ENTRY_BOOL("silead,home-button"), + { } +}; + +static const struct ts_dmi_data globalspace_solt_ivw116_data = { + .acpi_name = "MSSL1680:00", + .properties = globalspace_solt_ivw116_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), @@ -1572,6 +1588,15 @@ const struct dmi_system_id touchscreen_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "SCT101CTM"), }, }, + { + /* GlobalSpace SoLT IVW 11.6" */ + .driver_data = (void *)&globalspace_solt_ivw116_data, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Globalspace Tech Pvt Ltd"), + DMI_MATCH(DMI_PRODUCT_NAME, "SolTIVW"), + DMI_MATCH(DMI_PRODUCT_SKU, "PN20170413488"), + }, + }, { /* Techbite Arc 11.6 */ .driver_data = (void *)&techbite_arc_11_6_data, -- 2.43.0