Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp271955lqr; Wed, 5 Jun 2024 05:53:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXkcp4/1B7qvpErtwHmjuUoflxKtQxTtQSYZwncONBSoqJqSE28rcc/AlpYitWVHrxa4rFayGq4CnUXGUNtnE7aNQdW1yt/vCIAJhfSeg== X-Google-Smtp-Source: AGHT+IFmiEl2rs7GNVSsg6UatDIdM3NvQ/xwXv6EuYe7JuWhBjWvlOE//E7mKdiMMIASg+KsKvEY X-Received: by 2002:a05:6358:998d:b0:19b:b507:a3ca with SMTP id e5c5f4694b2df-19c6c6ab90cmr258208655d.14.1717591995297; Wed, 05 Jun 2024 05:53:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717591995; cv=pass; d=google.com; s=arc-20160816; b=u0fbyUMIXWClZc7SxX/5gzeGTKYZSZ6Va4DXZrUTF3Rkc5Gilw5AnsWWMHuS7H4NAk lHVUM2dez4fCNwQYv+iNm32h7ApYV/8UYpHx4cW35pLaGOJbR9Sk6ys+EcjGlysyy8Tc YON0MdmWyF7YP86CJZEaSaQ9ccouxTpXZqzYVLodeoX9LtU1TanQdflkItkANEyxZebC 945stOtrHpv7PrfAUjNM4wnaEB5uHQurahVA1JGvHTcq+DLQdMyNc/17A9rKMqDWzE0p /Kxe/izXZO7YqXI7B3rYDPYPcv63aDzHA9+kUAXci64pDo0JMFsH7Tf35uVd4uE9p71m Z6Hw== 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=ZDJ7DojUpqkI6qVR/BbSOf54RAOO1u064lf79bhBOq0=; fh=ufy1yPai0OL39ZcP6SVjHLpfpU0FYkLSCpYkddZ4TbA=; b=Q8Ag9aFhTEalPg0zUXI9GtJ7hzantptSJZdAI1nfOo14x/CtXdKMz2keWuqONGjIjh qmt5PNtu87/ccyXn4OIQ94BduUFYSjMrWkwAnjXqFffmSj19OwSIBoJf68tZFBEFQHn6 nYNonfqyoWzSBuWBAZHkgtTfymYylvrJFtPCWxGZ6HwWuuFiL7eh1Sz5pRryOStWSQET YOOCIDwoYzuIWwJ0swYbjmCUCHW8PShu8x+KAKoN0WW7WFyTosTHP5ziQdRdDF4/8tcb FoMU3X4D92c0kOQUYEOkrIpTKuz4aoP2Uyd9KqQhbyap6CrgVJ210vR8KwzaBcfC0kIR hs7A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L49hvOMA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-202462-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202462-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c359e09ebasi9986952a12.273.2024.06.05.05.53.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 05:53:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202462-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L49hvOMA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-202462-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202462-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 71630B24C5D for ; Wed, 5 Jun 2024 12:31:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B8C319EED9; Wed, 5 Jun 2024 12:02:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="L49hvOMA" 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 79B8F19EEC2; Wed, 5 Jun 2024 12:02:42 +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=1717588962; cv=none; b=N2niutPzMsHnpsQdotw9YkXvPNOp2HU+5yy9JpF5Gp4vnZC5eDPKVk42YFsUC1FF/AjaLLnrScIvj6g7W6sUFSgaQ7nJvBNbysbmgRx6+xwp//35xhP/bZ2t2RDXG2juY5M+gvT4NvsRZn4PohDYsEmU6pT6hjx6Hpl7yLOFGXI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717588962; c=relaxed/simple; bh=kajosy0raWBQzpeSHcRG0bBtGko6rDuN2Iwx1vOpzxc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qBNYGT+ghD3unP5NZkNVmQ1b5Xlrodx1lbUkWCkLOJagiH3fiEzjHSabtO+cD3ESY+SlG0kp+oPz4hgdA73P59zQv59dkJUDFCuA+p/0yJNv0GgJPSlQjt9IKQZtD7sLz7g72k5FZE9XXKyRmjKkvvqgb1V45kgCJvMHWUj+4vY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=L49hvOMA; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 746B4C32786; Wed, 5 Jun 2024 12:02:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717588962; bh=kajosy0raWBQzpeSHcRG0bBtGko6rDuN2Iwx1vOpzxc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L49hvOMAFWPMwfXS1NXfp7LkDFz0iqWEQV2IhbNDY7wEGNKTLpBX9p8tew/aY3FRN UyB/EQgxBhgpKZJBCZJ38hENweO4e2C3Xr79CXJUWKhvdEpsuJJIcRittX32aD10Io CE2w+Qe7Yf67jp0ljpbDLzFprYOVQqSu6USSg4Q2OSOjbOXFI+kfu7P7HJlljhP/qD niCzsAtqy4itcHDrmesUtcoRreeQWFTis2Ket+S62b1RD860+LMAW1Ry+DhHlLbYaB LRv0riHcWQ66orHIfrFvHOgpxMRbbxVqVIRQY1jzLbXOAETO1iGwekHQcEE1Hvu7Ry JiwW2dTu8RqIw== 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 6.9 11/23] platform/x86: touchscreen_dmi: Add info for GlobalSpace SolT IVW 11.6" tablet Date: Wed, 5 Jun 2024 08:01:54 -0400 Message-ID: <20240605120220.2966127-11-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240605120220.2966127-1-sashal@kernel.org> References: <20240605120220.2966127-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 6.9.3 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 b021fb9e579e8..6c03e7daadd4d 100644 --- a/drivers/platform/x86/touchscreen_dmi.c +++ b/drivers/platform/x86/touchscreen_dmi.c @@ -900,6 +900,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), @@ -1627,6 +1643,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