Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp1743340rdb; Sat, 20 Jan 2024 11:21:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IEWm92TeznaIRuMeVdO6/PqoyqZxiEoXgZ0BX+9YAtmyOSTDYm+aY+hwITUTH7nR9R2EOBt X-Received: by 2002:a05:6e02:80b:b0:361:9a1f:f175 with SMTP id u11-20020a056e02080b00b003619a1ff175mr2513155ilm.33.1705778511904; Sat, 20 Jan 2024 11:21:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705778511; cv=pass; d=google.com; s=arc-20160816; b=Nm0zZ8k7bSd7DfzpIw7ZvPy0Paqj4VjbShWpt7aUA32B6es6WyMO/50X5xJbKpOR/b c7stx0dOWjt/Sbvvewurh9fUgdB0fHCrlw6cQv5Nl1uPbhIz2S4Dbghvr6egoZxvCvM5 YZGHBl7sYG7RAOY9HAuvKMEjwUI14bqlS4oPRJONh7xyGez0oArf3jZitZv71O4FhVmq JjpdT1QOsv2lnnKmo2GfK+/B9XkB2vcq7Q80dQYsyZnGcL4DEHyWtJ5Ie91+8eOb3c4r 7YwnK8EpRuMcRi5S/0fnlqhPwljQ+9tdHgvIlv9vYPgYwdKT7UXaxIlWZlBRjO9U8PsU d4jw== 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=4HCW9YBPmcsH6XFypSoaa73HChH/KfPfLJleih85h4c=; fh=qBviB55ulkYowo8GnpCvTPRdp0iITrK7Dolt7tp1g94=; b=UP0oExgr4wnocLr1yvydZ4CJdo9mfCEgSM80QCgE8qX+o4TuZMevfAlDQrzj+vawb1 F9UVVMlM7g5jpRYh2MjDQgyZ3V3xi8Sz/mw5a3yfQMZTe8/0ik/ZiwrFFpn7RjkoXfHN s9ApWYRFDTxIgTMAJPASwG2CN1nuPoY8ARHTd8hY7O3Es2moSdLM6WOANUnPnFJpZNpW gjQ7PbtGF1hkNjkWgi+OkpB4XINbO3kSZxW1S/daArKgM3YsNAknU5SQOsgDmQelkKXv 40n9NWMddapcCZOG7L9jx2vDmIfgSMguB40Cq6g0QakXfCwbdAo8ncSqKf6XYDzjllpO SH6g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gimli.ms.mff.cuni.cz header.s=gen1 header.b=j1xTB9rk; arc=pass (i=1 spf=pass spfdomain=gimli.ms.mff.cuni.cz dkim=pass dkdomain=gimli.ms.mff.cuni.cz dmarc=pass fromdomain=gimli.ms.mff.cuni.cz); spf=pass (google.com: domain of linux-kernel+bounces-31882-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31882-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gimli.ms.mff.cuni.cz Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id s14-20020a65644e000000b005cdfc9d11b8si5336623pgv.647.2024.01.20.11.21.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jan 2024 11:21:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31882-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gimli.ms.mff.cuni.cz header.s=gen1 header.b=j1xTB9rk; arc=pass (i=1 spf=pass spfdomain=gimli.ms.mff.cuni.cz dkim=pass dkdomain=gimli.ms.mff.cuni.cz dmarc=pass fromdomain=gimli.ms.mff.cuni.cz); spf=pass (google.com: domain of linux-kernel+bounces-31882-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31882-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gimli.ms.mff.cuni.cz 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 B29D8B21D5A for ; Sat, 20 Jan 2024 19:21:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2BD9F12E55; Sat, 20 Jan 2024 19:20:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=gimli.ms.mff.cuni.cz header.i=@gimli.ms.mff.cuni.cz header.b="j1xTB9rk" Received: from nikam.ms.mff.cuni.cz (nikam.ms.mff.cuni.cz [195.113.20.16]) (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 2DF8F1078D; Sat, 20 Jan 2024 19:20:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.113.20.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705778434; cv=none; b=TIcoS92eHXlmtp3MwbIdy8aR5E/TB1U/dsQ1M3mrR6cQ4wm1xsi3VmbQjzYpnVgoEYagZ+G3JQDpJnCwpwhftdcpVp/QGSN7eFQqqDGTsVe6n8pNgYuvhTjqobJ2v2wlzctQEP80YtwJ++MjQyXANxyDb9VcgMBq7dJ38yqCVaI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705778434; c=relaxed/simple; bh=lbgvZZ+jq9gybgJnb0ibUvNKN58JqyZYhdnzv9MmZtg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=d/MBm1A/FlCvut/LySN9MV/mQjc4t1AUmzUPObNFir8H3Bgc76kjW4hEs/CQXC1FogYKT11Ot3oGi/Z1VL/0oGHVTj7jmOsTpZ+CVVzmcWJGYq6mXqj3WAWYMYdCqLuOQci5DrFG5HJCwKHX5yRMgAnO2wahtd4uiiAu1HhrmZE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gimli.ms.mff.cuni.cz; spf=pass smtp.mailfrom=gimli.ms.mff.cuni.cz; dkim=pass (1024-bit key) header.d=gimli.ms.mff.cuni.cz header.i=@gimli.ms.mff.cuni.cz header.b=j1xTB9rk; arc=none smtp.client-ip=195.113.20.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gimli.ms.mff.cuni.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gimli.ms.mff.cuni.cz Received: from gimli.ms.mff.cuni.cz (gimli.ms.mff.cuni.cz [195.113.20.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by nikam.ms.mff.cuni.cz (Postfix) with ESMTPS id 2B44B283BD2; Sat, 20 Jan 2024 20:20:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gimli.ms.mff.cuni.cz; s=gen1; t=1705778429; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4HCW9YBPmcsH6XFypSoaa73HChH/KfPfLJleih85h4c=; b=j1xTB9rkOy3HnnDbQ4D02+SJlqP+woDc5iyjVEtx/LKWtRSXEwurFewmdejXUzlKFh3VWX vXwDqHLRtfyPojYAtmG5RlTIBitZm7GBvKq2FneHMfGZ5cRpXDkNeM5zn4ShkEi2ZzqccK 7+2Waf8qgZND0M2GeUeg8R4qkxmpaZ4= Received: from localhost (internet5.mraknet.com [185.200.108.250]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: karelb) by gimli.ms.mff.cuni.cz (Postfix) with ESMTPSA id 0480C4577A2; Sat, 20 Jan 2024 20:20:29 +0100 (CET) From: Karel Balej To: Markuss Broks , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Henrik Rydberg , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: =?UTF-8?q?Duje=20Mihanovi=C4=87?= , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org Subject: [PATCH v4 1/5] input/touchscreen: imagis: Correct the maximum touch area value Date: Sat, 20 Jan 2024 20:11:12 +0100 Message-ID: <20240120191940.3631-2-karelb@gimli.ms.mff.cuni.cz> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240120191940.3631-1-karelb@gimli.ms.mff.cuni.cz> References: <20240120191940.3631-1-karelb@gimli.ms.mff.cuni.cz> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Markuss Broks As specified in downstream IST3038B driver and proved by testing, the correct maximum reported value of touch area is 16. Signed-off-by: Markuss Broks Signed-off-by: Karel Balej --- drivers/input/touchscreen/imagis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/imagis.c b/drivers/input/touchscreen/imagis.c index 07111ca24455..e67fd3011027 100644 --- a/drivers/input/touchscreen/imagis.c +++ b/drivers/input/touchscreen/imagis.c @@ -210,7 +210,7 @@ static int imagis_init_input_dev(struct imagis_ts *ts) input_set_capability(input_dev, EV_ABS, ABS_MT_POSITION_X); input_set_capability(input_dev, EV_ABS, ABS_MT_POSITION_Y); - input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); + input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, 16, 0, 0); touchscreen_parse_properties(input_dev, true, &ts->prop); if (!ts->prop.max_x || !ts->prop.max_y) { -- 2.43.0