Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp3103507lqo; Tue, 21 May 2024 07:05:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXt/6nosGBJuUpUe2VokglFl2f5ZnGmujBIvKvb2hW3PwaCOakLCknvMmM6ki3wz0sj4HKd12JKbc87nZ9EkrXOjhZgxDcptSriYroWFw== X-Google-Smtp-Source: AGHT+IHF9N6dsgoQID5bxAg4lq6xs4QujDwzPpeK8pHfkUnQeAirELSqaw9R2ZpgAO94Lq+iwyBF X-Received: by 2002:ac2:4d1c:0:b0:51e:f70c:88ec with SMTP id 2adb3069b0e04-5220fc7beebmr29376346e87.16.1716300310847; Tue, 21 May 2024 07:05:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716300310; cv=pass; d=google.com; s=arc-20160816; b=X5daYYrf2zNk50SIOeuJXjdfwSlyTdPhGaCkRQymhW7Nj41jMSyXMcrtcpAFmca6ob p9X2SsdjZ4MbEW2+zxEoKfQJ7UvhuQ3Pef4237KCSdi02N4Pqz6dI8kRYw8n6pkerFDc 3CIQ92WOYv4Ke/sb4NiMWKPQ6vy14Qr1bjhTXkU5ay6nYO7MaULFlJa2OhvJJBfktFf/ crCpKKDpwP+zs+5oi2MjGpZxxdjZpHyZPC1sGuwdoKkW2d+Pdi8a3IOqrY6iLy5YYdXU NjIJ+WsSnIXGZmpLQoH8T+7P2fRbOW/PKhFbSvsBkk6r4cqicBkfJiS5+Ok1+XY0ctlj Ep8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=uhgHL/ZTGQhpj0BBhPhnerCAnALFlI1HRFvyLbsN0XU=; fh=GgaOcEroZFYt+zSOsJxb36RxToaaYEiu2Zw4VJpOfs8=; b=Daqd2wETPX2mZJhPuL310HQZkXKpe/XOXNTDpnsQwpJNscoB1bTDTXcMjGLA+fub8e zcbJjVkwOM2KqpF5QStAPDk0tybW3YBbd2uy8MoAJaqCE1Oa+3CrQiZxjSEYuEGtS1Cv +nYRtxbm7DNFhBCoUS6e3YcMmSrnGNV0ES9sRXFKpX5k26njpj3uqjAIMfSiVfFvBnLD /ydiiSl9z03g8kLxiQMuhFILH3RjrZT2bnC84LCqoWET4NdzJmfoDSslYQpm/z/yXWCu v+tmbJpyHGA2zE7T6in+zQ59SEI5t0FAD+fEu6WxrZM0K7nddxmC8CXI+yVQXhqLw33r V55w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VlJTbJjh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-185053-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185053-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57521979532si4506316a12.275.2024.05.21.07.05.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 07:05:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185053-linux.lists.archive=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=@kernel.org header.s=k20201202 header.b=VlJTbJjh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-185053-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185053-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 am.mirrors.kernel.org (Postfix) with ESMTPS id B43B41F24B10 for ; Tue, 21 May 2024 14:04:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5132E8002F; Tue, 21 May 2024 14:03:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VlJTbJjh" 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 616E77F7E9; Tue, 21 May 2024 14:03:07 +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=1716300187; cv=none; b=gI/tyed1jgpLFAErk/p2ft9gbVdty4d/ksqFug2WCkDlg1l6rP3vHy1CdC62KTz8F4L0A21EO1OvK07MCCI9wg3VW43/XAHVc31I4roaUFboIShMQStNLA8vYUub2QKdMjSQMXWYtay1QV+hiBKUtJWz576aZmGPDjVfZ+qH40Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716300187; c=relaxed/simple; bh=Fs042i5wAoiHYsxDdEMef/tN7MxYwiclxHYK18SBFg4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hsG4dy4C840GnFqJt+8uFzXsN2VEiSXJj5poilcO0ajf3eB4CD+T8/gr6vwh+/GBxmZjuB136Nimp1fri362ZEH+k2IV0gogk+HfAO7T/EYl+1422xPGveObWboAFv9Puq5HXHwH9ffuIjrZatXkLXWP/D54sjP1leVVYOS5KXU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VlJTbJjh; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 1FC65C4AF09; Tue, 21 May 2024 14:03:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716300187; bh=Fs042i5wAoiHYsxDdEMef/tN7MxYwiclxHYK18SBFg4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=VlJTbJjhnCQCb4LIzPz2HVWUEVGj9Sz8EYn6oWKSrLpLaonGqVZ8hQc+p3LpLKgRH E5/33hXgAY6T1hJFklqv8UL6B1ZC/NiDvqz4mHS4vTNqWk9cMSN0fIQVMELpPlxtWt reLsIzf7zrLS+K+r5ww8szIgBSemRlC7gGNA4nDWCovNvy7A7a1Q/OcGZycoCHWftu mNy4v5+f43v3eRv/VLBGgjFEKV4f1V+S8V/LJymfNWfTflwj72Dn4cdoKctfiB8xMM tIi9bjVsG/qTe7UHSbYUwn6YfPqWaRPlr+bihvmqtOzwRdOBoO1barYxzq3wTvIhhR imz23/FwFLfKQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07016C25B7D; Tue, 21 May 2024 14:03:07 +0000 (UTC) From: Joel Selvaraj via B4 Relay Date: Tue, 21 May 2024 09:02:58 -0500 Subject: [PATCH 2/2] Input: edt-ft5x06 - add support for FocalTech FT5452 and FT8719 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240521-add-support-ft5452-and-ft8719-touchscreen-v1-2-2a648ac7176b@gmail.com> References: <20240521-add-support-ft5452-and-ft8719-touchscreen-v1-0-2a648ac7176b@gmail.com> In-Reply-To: <20240521-add-support-ft5452-and-ft8719-touchscreen-v1-0-2a648ac7176b@gmail.com> To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Joel Selvaraj X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1716300186; l=2353; i=joelselvaraj.oss@gmail.com; s=20240420; h=from:subject:message-id; bh=nQ1HQkXEqDosRHt1dsb4w1mHu9DuJ+dY0jyixkP33Sg=; b=LHJ7zHKBvISv0qDMgtXQbhmmXEHNomIwmkjkw7JBM9rzrCbY9vOch4bBlQXVuDcL8WYJAm5Mi oCm9etvk9BPDPIMxoWd71ZEci7+JHmUPDpUweg8BcI3D1LHWp3LaxsG X-Developer-Key: i=joelselvaraj.oss@gmail.com; a=ed25519; pk=qT4gsuVtlPE0Dpr+tQA/Fumm7wzVP6qfeVaY+6pX04s= X-Endpoint-Received: by B4 Relay for joelselvaraj.oss@gmail.com/20240420 with auth_id=165 X-Original-From: Joel Selvaraj Reply-To: joelselvaraj.oss@gmail.com From: Joel Selvaraj The driver is compatible with FocalTech FT5452 and FT8719 touchscreens too. FT5452 supports up to 5 touch points. FT8719 supports up to 10 touch points. Add compatible data for both of them. Signed-off-by: Joel Selvaraj --- drivers/input/touchscreen/edt-ft5x06.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c index 2a1db11344766..06ec0f2e18ae3 100644 --- a/drivers/input/touchscreen/edt-ft5x06.c +++ b/drivers/input/touchscreen/edt-ft5x06.c @@ -1462,6 +1462,10 @@ static const struct edt_i2c_chip_data edt_ft5x06_data = { .max_support_points = 5, }; +static const struct edt_i2c_chip_data edt_ft5452_data = { + .max_support_points = 5, +}; + static const struct edt_i2c_chip_data edt_ft5506_data = { .max_support_points = 10, }; @@ -1470,12 +1474,18 @@ static const struct edt_i2c_chip_data edt_ft6236_data = { .max_support_points = 2, }; +static const struct edt_i2c_chip_data edt_ft8719_data = { + .max_support_points = 10, +}; + static const struct i2c_device_id edt_ft5x06_ts_id[] = { { .name = "edt-ft5x06", .driver_data = (long)&edt_ft5x06_data }, { .name = "edt-ft5506", .driver_data = (long)&edt_ft5506_data }, { .name = "ev-ft5726", .driver_data = (long)&edt_ft5506_data }, + { .name = "ft5452", .driver_data = (long)&edt_ft5452_data }, /* Note no edt- prefix for compatibility with the ft6236.c driver */ { .name = "ft6236", .driver_data = (long)&edt_ft6236_data }, + { .name = "ft8719", .driver_data = (long)&edt_ft8719_data }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(i2c, edt_ft5x06_ts_id); @@ -1486,8 +1496,10 @@ static const struct of_device_id edt_ft5x06_of_match[] = { { .compatible = "edt,edt-ft5406", .data = &edt_ft5x06_data }, { .compatible = "edt,edt-ft5506", .data = &edt_ft5506_data }, { .compatible = "evervision,ev-ft5726", .data = &edt_ft5506_data }, + { .compatible = "focaltech,ft5452", .data = &edt_ft5452_data }, /* Note focaltech vendor prefix for compatibility with ft6236.c */ { .compatible = "focaltech,ft6236", .data = &edt_ft6236_data }, + { .compatible = "focaltech,ft8719", .data = &edt_ft8719_data }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, edt_ft5x06_of_match); -- 2.45.1