Message ID | 20240209164217.9008-2-karelb@gimli.ms.mff.cuni.cz |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-59666-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp984654dyd; Fri, 9 Feb 2024 08:53:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IHjrOMD8Txnb/ikFTXEz3TcHoLk+d3anwHgwA+y7LvbYQ5/7jNmqMRU7PvyfCp3YxBArj0s X-Received: by 2002:a17:906:2dc6:b0:a38:42f4:dfb6 with SMTP id h6-20020a1709062dc600b00a3842f4dfb6mr1641802eji.63.1707497616448; Fri, 09 Feb 2024 08:53:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707497616; cv=pass; d=google.com; s=arc-20160816; b=rOY0uQSIgMKPEuCD0uA0pU2hyI/8yB1gBWEKpksEN9Qua9nUGzxvWSbqP57qNCmr+0 M7KFTS31CQIELj6q64tL0JCug5XywOGTYxZuTbJFh0nDAwCx45BS07RhL+EnqWhkTHiH ydnCqrpe/IBDKtIGBnGKCXWVT0szL+S4YjwIxfa9msn/3KoCZpHM9NfCeXIyeHT+HxAl KFXrQ/o2nuMtnGBxtBFHTZEcmjRPKlC6xXTWl0AlUsLvmnb+HiNUYaFCE79F4rhckoEh 50/jOekcDsBhHZqvW5Ni2uupo//C6F3UOFL1cuKs1I071QomrhWgwnun+04kvwTgs7az ek/w== 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=iO+yBHTbbrNinTANHZEjtlRvKbVKGTDsHhaLW+trFUo=; b=Jxv27Xxq3H4muNmSMW5et7tQE9zve1a1dvlhVolruBOsBXkaIwSC7j3nORhkDQt8Bf f+d0dDujS7IlXmMY5vNaBnywm96vY/inYadJy18FvXffm3GNbcEAcWAwAkWkAlmyeKnf Hm29rwDFhiFNwg7tcs3tFxDq+9RKZ2el8vO4eZjxTEDykozJeO9s7v4UD31rlGvDJlWE uyY2E2H0xvjnQjO+nR39/l22mit1BB/yI4TeFyplsn05f4bjdOJqlv8W9e32n0U6q1vW VwLtgAUaAhKJLNivLM+cRU9a5pGcwRe+HAxetaZ8HAaa5QOKKugeTVkhGRJ79tR4xwPe 31SA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gimli.ms.mff.cuni.cz header.s=gen1 header.b=mXVJVC3D; 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-59666-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59666-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gimli.ms.mff.cuni.cz X-Forwarded-Encrypted: i=2; AJvYcCWLBI7tr0WrGgDMcVXmJEAPix7YtcJBHkNm0PH1G2oOJwtmuMzqzzn/dhu+AOz+xN0Lzt+DoL3EzN9pBRuxvfRicsAaeQ== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id he18-20020a1709073d9200b00a3be92a1a49si896639ejc.780.2024.02.09.08.53.36 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 08:53:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59666-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gimli.ms.mff.cuni.cz header.s=gen1 header.b=mXVJVC3D; 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-59666-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59666-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0D85A1F20597 for <ouuuleilei@gmail.com>; Fri, 9 Feb 2024 16:53:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BE0A812AACC; Fri, 9 Feb 2024 16:49:06 +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="mXVJVC3D" 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 E30E21292D4; Fri, 9 Feb 2024 16:49:00 +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=1707497343; cv=none; b=JyuS1hYPeC8Pq69fLmfCvXV6vbcSQW9zij1UZalpNUgkxf+flSA4fsU4n9dqq5lO2r4H7ZiDoGv/rLa1vbDhR5aK0nVckScUgx/YP+fZm8LowP2pxf3FGmi+ZuuRCU84gwZa0pIphF2TEKp3tuu2oflpiEj2ymawtMhzKQJdQME= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707497343; c=relaxed/simple; bh=lbgvZZ+jq9gybgJnb0ibUvNKN58JqyZYhdnzv9MmZtg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kzRM2Vff+HfxZjaHzsFrtaaZ+oRT8bsdMo+fq31pPCCgtib7CzG75Ye+c9qGsM8mAQ/SQzfv8X2nwugQrEJEVP6gBc4JWsGKUINJNgEDRK+NC8bDruxs4ucWCZoY6ebOGMLIe/uxKMyyeyTXA3TIdGAGhi12J+ZqI1JtA0I0so8= 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=mXVJVC3D; 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 2D74A283DEE; Fri, 9 Feb 2024 17:42:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gimli.ms.mff.cuni.cz; s=gen1; t=1707496959; 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=mXVJVC3D3MZJMFOaXCQimtNCr6oDV5TFvwksY4NeSbvY01OGsTFYYAA3N8yPRQiJ8EWjZc dTayvsyd3fSaYsNQL3SZX61oworC0dcHLiZAkokD6aa8uxQm9ofssHsDU8wPtP2iu7Syqz A0ky6jmayRxw2+FUbGZMPFO8iUZksa0= 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 0846E4590CD; Fri, 9 Feb 2024 17:42:39 +0100 (CET) From: Karel Balej <karelb@gimli.ms.mff.cuni.cz> To: Markuss Broks <markuss.broks@gmail.com>, Dmitry Torokhov <dmitry.torokhov@gmail.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Henrik Rydberg <rydberg@bitmath.org>, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: =?utf-8?q?Duje_Mihanovi=C4=87?= <duje.mihanovic@skole.hr>, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org Subject: [PATCH v5 1/5] input/touchscreen: imagis: Correct the maximum touch area value Date: Fri, 9 Feb 2024 17:34:18 +0100 Message-ID: <20240209164217.9008-2-karelb@gimli.ms.mff.cuni.cz> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240209164217.9008-1-karelb@gimli.ms.mff.cuni.cz> References: <20240209164217.9008-1-karelb@gimli.ms.mff.cuni.cz> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790441020973711993 X-GMAIL-MSGID: 1790441020973711993 |
Series |
input/touchscreen: imagis: add support for IST3032C
|
|
Commit Message
Karel Balej
Feb. 9, 2024, 4:34 p.m. UTC
From: Markuss Broks <markuss.broks@gmail.com> 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 <markuss.broks@gmail.com> Signed-off-by: Karel Balej <balejk@matfyz.cz> --- 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) {