From patchwork Fri Mar 1 10:39:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamel Bouhara X-Patchwork-Id: 208756 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp988520dyb; Fri, 1 Mar 2024 02:39:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVZt4E37ljnUL7ZWZmGfYcxr0g4YKSwkZ8M66ApWl4S0LBh5q8OgIodb7jqXf13bZ+ueFM4myxnZmNg0+GL7EEeDh7kXg== X-Google-Smtp-Source: AGHT+IGcXqvgU9j5nxoptDeXBdYjIjTQK6+cJfRnGECPdetEsdJMWl9f0f95doonMt84tUD3MsVK X-Received: by 2002:a17:90a:bb96:b0:298:b9f7:83f7 with SMTP id v22-20020a17090abb9600b00298b9f783f7mr1199561pjr.24.1709289587043; Fri, 01 Mar 2024 02:39:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709289587; cv=pass; d=google.com; s=arc-20160816; b=ICnsVM8aBgLZK8T9LYFIuq9KqSKa+fhqifPH5lyBzVB3acfHCwgnsoD2gJyxjdWy2L OXHPTsmMf2q1gGHh82BnYwwAJu3mtdoD3iIQkuVzPrzQtMkO8z1T5ECqt0YsXkx4waaU xbzHsbWms7KPa0HaIB74aCJ81seH4Cpqc/q16K7vgRIE+4cvfaqaZqZVTdNY1hOT2ofj KVoo8ihwC/y2hlrTM7MLdHUZzVJxBsyirdpxED8TMVOQzVYDVpIaxBpI3JqWlFKVMG+0 S+hXOSGftibK5Pqz0GF/DAiQdRvJdAUpIREWeCrq07e6xt0njMj0FhLHgY8TkaZ0rzrU nzpA== 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=CDmnqReFpMYRHKn4zXOLlP/VQyZkOX4IKcdcgZtFJfo=; fh=XTYTgZQaHIRsh0IgP7zFrsdEf5IQvYSVIZasPoTxvCY=; b=rgQqq6uegJEEYpF9/FQjLOZHRd1ggtjkXWFCHl838YAW/Z6dVOC90730mI40GnD42w o5AnGwtgdXhqU/a7gYeXZrtyHQir2g//BLytGrRcrr/e3Rj4xZmVDy7VzuNHPuUSLxCF sslMlWG3OTpq5Mr0+BFd+JBn6qbWvSsSvVWW1/r3C0T0J5rbcx3rUNtbFnIUac6SHeDr eXa/NSBY3O+DL36jn1KomQUp/xDSU45s7n+oYKcvsTFpqw+nK29cPLuvB2J8RDLYy7b9 Wy7kkjlwUryvYmwtet+hqarty41l0jFG/oRJrPJj98mXNtThZJVO6ZFYUB0h8XXOezXG I0jw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=PTCKm6W4; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-88261-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88261-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u4-20020a17090ac88400b002997a08e32csi3536357pjt.141.2024.03.01.02.39.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 02:39:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88261-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=PTCKm6W4; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-88261-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88261-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 646F3287769 for ; Fri, 1 Mar 2024 10:39:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7032A6BFCF; Fri, 1 Mar 2024 10:39:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="PTCKm6W4" Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (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 3D83A6A8AD; Fri, 1 Mar 2024 10:39:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709289559; cv=none; b=T0x/iYIc0hLqwcSuhevFCXVk1ePCCeT6gUFq2UIPrIQ+xo4bgkMqWBTIQmb0RHmw9m4KQY+bI9oytUiF8YJlwpRRN5C80D2aNHhhJU601+VuFmqGavo2jN/Ss+DCiL6Wsg56FeEXUHTNgqegbPnwDiAFfjMlR75SpH8ms/7na58= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709289559; c=relaxed/simple; bh=FnzU97NGZETb0f4x7tm6W4WY3ZTRPT58hRG0RAB4hTY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nnW1PnsQqXRCv1sY2ihetCJ79hRhsy3KDfNHzGnGNz188KXJLJJywi50q1g2f9hM0qaWpYeR/ozXHxUk9ixMKBzk/O1DPBEADBwBqX8gkOZcG9QGwbTdS8FrQMT0Ux3tife8mhdij381JfA57nP9t672h9SpOgleQAAEFm7HDRA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=PTCKm6W4; arc=none smtp.client-ip=217.70.183.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 69BE92000B; Fri, 1 Mar 2024 10:39:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709289554; 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=CDmnqReFpMYRHKn4zXOLlP/VQyZkOX4IKcdcgZtFJfo=; b=PTCKm6W4Umqmtd89m6B+es1wfZLjKrxriu/q4u4XcInbnLaKH2LngbbdjWtHaFS+2hBbSU 7jY0Q2D/7cZuSdlhdvTN08ar/kE8VPRr43PQFv+ZOO9+4c47VcRwUoxWNOcJJBmHgOgaeN YZpJpfB2Z0PyJV70U1C9yF7xfk0k1J8eBLakuZY/pfHlE/YN2ItW2+Ej6YRvtRhTWtfs/m TPtzUr0kWTuE6trm+wK/SJy3m7VX6pYzm6lEg7HDhk/HfQftHCjGspMG2vfo+Lkm8qPS5x 6aVVFHGH2wazpskLZnwmBfk9yYy8qthVY3Q6IAFXEzjUh52zQjU8HKmy7dkHnw== From: Kamel Bouhara To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Henrik Rydberg , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Marco Felsch , Jeff LaBundy Cc: catalin.popescu@leica-geosystems.com, mark.satterthwaite@touchnetix.com, Thomas Petazzoni , Gregory Clement , bsp-development.geo@leica-geosystems.com, Kamel Bouhara , Krzysztof Kozlowski Subject: [PATCH v9 2/3] dt-bindings: input: Add TouchNetix axiom touchscreen Date: Fri, 1 Mar 2024 11:39:07 +0100 Message-ID: <20240301103909.167923-3-kamel.bouhara@bootlin.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240301103909.167923-1-kamel.bouhara@bootlin.com> References: <20240301103909.167923-1-kamel.bouhara@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-GND-Sasl: kamel.bouhara@bootlin.com X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792320037742708571 X-GMAIL-MSGID: 1792320037742708571 Add the TouchNetix axiom I2C touchscreen device tree bindings documentation. Signed-off-by: Kamel Bouhara Reviewed-by: Krzysztof Kozlowski --- .../input/touchscreen/touchnetix,ax54a.yaml | 62 +++++++++++++++++++ MAINTAINERS | 6 ++ 2 files changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/touchnetix,ax54a.yaml diff --git a/Documentation/devicetree/bindings/input/touchscreen/touchnetix,ax54a.yaml b/Documentation/devicetree/bindings/input/touchscreen/touchnetix,ax54a.yaml new file mode 100644 index 000000000000..66229a4d6f15 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/touchnetix,ax54a.yaml @@ -0,0 +1,62 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/touchnetix,ax54a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TouchNetix Axiom series touchscreen controller + +maintainers: + - Kamel Bouhara + +allOf: + - $ref: /schemas/input/touchscreen/touchscreen.yaml# + - $ref: /schemas/input/input.yaml# + +properties: + compatible: + const: touchnetix,ax54a + + reg: + const: 0x66 + + interrupts: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + vdda-supply: + description: Analog power supply regulator on VDDA pin + + vddi-supply: + description: I/O power supply regulator on VDDI pin + +required: + - compatible + - reg + - vdda-supply + - vddi-supply + +unevaluatedProperties: false + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen@66 { + compatible = "touchnetix,ax54a"; + reg = <0x66>; + interrupt-parent = <&gpio2>; + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>; + vdda-supply = <&vdda_reg>; + vddi-supply = <&vddi_reg>; + poll-interval = <20>; + }; + }; +... diff --git a/MAINTAINERS b/MAINTAINERS index c4828ab15f1a..4b3ed2f22b89 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -22257,6 +22257,12 @@ L: platform-driver-x86@vger.kernel.org S: Maintained F: drivers/platform/x86/toshiba-wmi.c +TOUCHNETIX AXIOM I2C TOUCHSCREEN DRIVER +M: Kamel Bouhara +L: linux-input@vger.kernel.org +S: Maintained +F: Documentation/devicetree/bindings/input/touchscreen/touchnetix,ax54a.yaml + TPM DEVICE DRIVER M: Peter Huewe M: Jarkko Sakkinen