Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp1666lqh; Mon, 6 May 2024 09:24:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXG1KOcIr/VsqnukHXtI3hTtwGEzxrUBl4s/MW03Yhc+nbAoo2juEyEl8JH8c3uplQlvpNvny08oup4zHYxZnl891XGVEHyHfGvDwzayg== X-Google-Smtp-Source: AGHT+IG4prmIL0hSmfGXSpCiRthbmDsKei9DRUWoj12k7NIOb/5Drz8ls3GDck5Di3abvsKnNnUv X-Received: by 2002:a05:6214:21a7:b0:6a0:5592:4a44 with SMTP id t7-20020a05621421a700b006a055924a44mr13245170qvc.34.1715012669103; Mon, 06 May 2024 09:24:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715012669; cv=pass; d=google.com; s=arc-20160816; b=JJum1YUh6DbNMzAHrUpOHm0KCCxveu36Rx4VFX8DKqNBJJJUgoo4w8UH/phJs7zRzM 6CB07NjA+CZ/JRAfAQa2lf+I1F12Req50YIhp7GJ6xbj1T7KP6nijSvVvOdamZP9oKDU hv5iCl6r0+BUzqMUMCrVhfozkM1hiXPbPVzGutpdbmHL12wersto4OkCJ1GN2ryhoa3q 9EymgIJ6LYUtm/ty21fiiqB/2I/uOOkv8PUvk6O3VEEgRETRarTqW7ngcB93h1LYXphp k+KlZ8bIV46IUGCmH15ZYMZ1OxKZPQ3wgHheQXlJE0/DzvD9AlfR2yECt7q8UgL8wLQk u+eQ== 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:message-id:date:subject:to:from :dkim-signature; bh=utpz7iYXHktEzXWIgy4GD/ao0gKYmCpXe/gyJxy70Cg=; fh=XiQG2Y7XKXErt+J2ZyO9E8JDM+rud1WXC7RA5vM9oqw=; b=ITZ/nLUmHtDJ0MTwia6pxG3o8wzpbu1z11KAfhE4iXOQjJLuUKHtVhb3VZigSp2IXB 8DU0cjLqXe/Ye+SHNIHMkCMpSYTzWnVHWio16GrqF4Dk48smCN5jAgmyBP1DEUs/K+BP 6PwfQPUdGda1gO+SlIjACVJMytqh3KXCtw69Tjwp+f7+GGfUQZ9NNWjkrM6AJz17NC3Z 7/OOh6YrO9mWGym3rQdXr+xb1EN4IIUMss5H3SLFw23j+YRNqM08b9IsMO4alTYoMEis P3SxKKArOZwk2811T0vrp7sqC+rdNDAcmfug88TAW2+3vSLd7O8WtRG+KSJXSptzeqSG Ft3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=8dl2nYqh; arc=pass (i=1 spf=pass spfdomain=kemnade.info dkim=pass dkdomain=kemnade.info); spf=pass (google.com: domain of linux-kernel+bounces-170159-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170159-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z22-20020a056214041600b006915cc2afedsi9781463qvx.244.2024.05.06.09.24.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 09:24:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170159-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=8dl2nYqh; arc=pass (i=1 spf=pass spfdomain=kemnade.info dkim=pass dkdomain=kemnade.info); spf=pass (google.com: domain of linux-kernel+bounces-170159-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170159-linux.lists.archive=gmail.com@vger.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 CF3D41C2261E for ; Mon, 6 May 2024 16:24:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D971156669; Mon, 6 May 2024 16:24:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kemnade.info header.i=@kemnade.info header.b="8dl2nYqh" Received: from mail2.andi.de1.cc (vmd64148.contaboserver.net [161.97.139.27]) (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 23B6315575A; Mon, 6 May 2024 16:24:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=161.97.139.27 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715012648; cv=none; b=bfs/PVotmstY/6gqjLACvKkpj67UjQBBHm1FHM5Sv1i/za97neBdR0rInwSqQ+N9rau60Cls0OMAuTi0EnreZ4Hq41+EP7peYNYpKcIzAkMBSpxkTB5uUqH8cRBTX5A9xJAEYBpvvnpqYt+7d6ilofPb8VyzSurbWDlpCqzuLKU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715012648; c=relaxed/simple; bh=eFOl7PcsP3agx3qzdhbJJDR4zXY2SAfO3NMK3tEzZdQ=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=ILWERfYgvP0RpR4ZJOi+qohDJ6hk/Pww6ThJnorKqfGVTH5oPjkp2AokfWmzwWHSooLb9eoDvJSdWvQuy5kcQFZLc8f71nj+h8IvmfXQGCpvy6dLuO/VyWoa7DHL+OyVJCV0jk7kaWqYsSFDjMEhynOXb2MMyyzrqUlIxmU2zo8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kemnade.info; spf=pass smtp.mailfrom=kemnade.info; dkim=pass (2048-bit key) header.d=kemnade.info header.i=@kemnade.info header.b=8dl2nYqh; arc=none smtp.client-ip=161.97.139.27 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kemnade.info Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kemnade.info Received: from mail.andi.de1.cc ([2a02:c205:3004:2154::1]) by mail2.andi.de1.cc with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1s418E-005r2Z-0a; Mon, 06 May 2024 18:24:03 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=utpz7iYXHktEzXWIgy4GD/ao0gKYmCpXe/gyJxy70Cg=; b=8dl2nYqhhIpZL8gCgRAbh94PuJ ypYzLpxAKlKVb/qg4a+PGlxPZX22Fc/FqM884Q2+OSHNdUOWAzbGwvN9XzFNVJ7OfXkZySbcqiVMJ TkeadAI83mGlg9kZYESsZ3j4Z2E7+J/IAr4/XtTnFHlQYPiV3wmVrYgu2LNZumgKWEOi8IkJFocBO hSitiurFdmJgONlY8bJ2s75yMopwBlYd0rJ+Ee79nsVD24cVsEGSugjq3KJFpXw/8iDaNhQIBmAkQ cJlL4su9uq9FyvpVoOW5gVlvVNX2OWwMV2aBfax4ATTusMiWvDF82yLJ2kpewQx7YRvoOfv6q3rCI 0w4mwh6Q==; Received: from p200300c20737c2001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:c2:737:c200:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1s418D-000fJY-1S; Mon, 06 May 2024 18:24:02 +0200 Received: from andi by aktux with local (Exim 4.96) (envelope-from ) id 1s418E-003pVA-1K; Mon, 06 May 2024 18:24:02 +0200 From: Andreas Kemnade To: dmitry.torokhov@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andreas@kemnade.info, hdegoede@redhat.com, andy.shevchenko@gmail.com, u.kleine-koenig@pengutronix.de, siebren.vroegindeweij@hotmail.com, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/3] Input: Add ektf2232 support Date: Mon, 6 May 2024 18:23:47 +0200 Message-Id: <20240506162350.912950-1-andreas@kemnade.info> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add support for the EKTF2232 to the ektf2127 driver which contains support for similar chips. Add the needed compatible to bindings and convert them. Changes in v3: - use dev_err_probe - use i2c_get_match_data Changes in v2: - separate patch for adding compatible - use match data for selecting status shift Andreas Kemnade (3): dt-bindings: touchscreen: convert elan,ektf2127 to json-schema dt-bindings: touchscreen: elan,ektf2127: Add EKTF2232 Input: ektf2127 - add ektf2232 support .../bindings/input/touchscreen/ektf2127.txt | 25 -------- .../input/touchscreen/elan,ektf2127.yaml | 58 +++++++++++++++++++ drivers/input/touchscreen/ektf2127.c | 36 ++++++++++-- 3 files changed, 88 insertions(+), 31 deletions(-) delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/ektf2127.txt create mode 100644 Documentation/devicetree/bindings/input/touchscreen/elan,ektf2127.yaml -- 2.39.2