Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp606395lqt; Fri, 19 Apr 2024 05:39:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWwHTxS0BN5CLTE0AazpTsk/uchBKuZ3pPCggM/dU3ziDW3+1B3WqhEpUtaDkKreIi1TFno13hgHvG5UaoPO2tl3VGp9q158O+uzrXMjw== X-Google-Smtp-Source: AGHT+IFXEQQtLngP+2IzF9hdVJfC07A22vXLvLrKcMojuhXpKBtFETzst5uAVDkaCAVtpjnYa0XE X-Received: by 2002:a17:906:2642:b0:a51:982e:b3f7 with SMTP id i2-20020a170906264200b00a51982eb3f7mr1249322ejc.37.1713530341420; Fri, 19 Apr 2024 05:39:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713530341; cv=pass; d=google.com; s=arc-20160816; b=kUT+Kouohe9y/I+qy+2hGe0BcMEGdBD1GnSkqr9BEit3c82y1VQaFIQxv5emuGLvva CTtAzHKkoDjaEQ49acxU1J8heHoJhcEqpNJFtZIG+8ZtshC8qGqlP7iI/tNUEPTQfdss vPAgZv+NRkX4LA7ImWsVvECPG76XKmwUeoLSN22ossm2V4yo93L4GIdx2VGRG45vVyPL bFsF6Jhqr+RCTn+lUUF0eK7kIVGXcCbuKNRGHhWZDl4cCrZK+YKQoYlLiCOp1uMsCiUf X4TSgOtiQXlpBZEfHtu+8v7egbcgx63PZ5ourugUjOSa+R6LEiFpV7Wtgn49XmfhKY/a /I0g== 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=yra0SZJ8Uc8/Lt8UT7zbn2MAfaP9hbBGnEd7F2L+h68=; fh=XTYTgZQaHIRsh0IgP7zFrsdEf5IQvYSVIZasPoTxvCY=; b=0ZjNZKsoXiypwu0b8Hg6huIMWY165jNlQxwSMMqeMh+5xx76EHuftJNw9eju4S81CE pPBJiDNGck6mrSQnJ5eQaIceHZqSW8pRJbhxr4txAu1DGgL298GCD0rmpxyxmmlGICQW 0kZKmapjCblSttv3ebfsHxSh0rVejpcu5+R/5mPbUxYj3HFpJIgYXfDqruNDDBswuPN1 24ZEbV6QrGF7ATF8H4yhEq149jf8xKyMBm4rUholPuBNVbMP4+UNm6a1IZSezwJ3z5uO JkEV41jvgo1r0L7VFH1/g+xDBTsWI9wCz5/OPKagzhhmmY06Jj2BhTehtd6rEgmi6trD Z9SA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=jf33nUx8; 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-151422-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151422-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id bg6-20020a170906a04600b00a4a373ee9dfsi2005923ejb.373.2024.04.19.05.39.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 05:39:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-151422-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=@bootlin.com header.s=gm1 header.b=jf33nUx8; 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-151422-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151422-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 2C0541F220BB for ; Fri, 19 Apr 2024 12:39:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7BFD21272A2; Fri, 19 Apr 2024 12:38:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="jf33nUx8" Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (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 533B282D62; Fri, 19 Apr 2024 12:38:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713530320; cv=none; b=G89GBBtswb2BuTi9UCusWj76XAM1kOl9mVcIIO3LN31i3D+E8WaGVJlKEnFhKrRiWjRGCNRm0wOcNCZxSzlCCMkNXJUDo7RNavV6PsFlYl+8j8NzkNh/oe/K5XLTGmd2soe/MchXB1iaKtWqChlFpREjVckFg0qqWEUrYBkAhAQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713530320; c=relaxed/simple; bh=OFqpYJINSd4WTr2fsA4DTeXjTI42oPdzFFZejbjG6z0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hsznLm6/1FJj5i8moVDlUvOQN9JBuR4s6M33mRTXZvdztNyi7sVvdUMEa7A9otXCRNSYf9xaZ6Is4tWczoO9/fSBfK8gdy8RvowIU12bDKJkD3VShwpbeRy1llIWz/OXKFoIUyCMUQmbJqpsBUxTJ6MndOXVyASzGxz+vny8Uzw= 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=jf33nUx8; arc=none smtp.client-ip=217.70.183.195 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 333F860006; Fri, 19 Apr 2024 12:38:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1713530316; 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=yra0SZJ8Uc8/Lt8UT7zbn2MAfaP9hbBGnEd7F2L+h68=; b=jf33nUx820Oev8DZ6fDsj/TFIyZTS+cNR1AGht5S75cabPAzF5ZNXl8sEZDmxXnFCjRzob RVhL4NmTsi5+CPLVcGcNW55XdXY1le1/uq4llqrAOR3OBgdzImfErsg4FWTe1ag+EXD//N dWMqm00ZAi/I+on3n0HBGVslKDkXITaPm3mrluvl7cNiNUPmjbZ7cvUF6jSp/6UAlw2/i4 DEuuRLM6KEt/iaAZ5kZYhiQtw2yd1ZV2Z4eAm2lbLb9/NWYU3WprqUWushqMerU9E+gPA3 tYUy9iaBWR6UTrwWY5JGTqCpr1GVS9PjrS3rehzwVM5g0qZBahqwMj9XjhIuLg== 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 v11 2/3] dt-bindings: input: Add TouchNetix axiom touchscreen Date: Fri, 19 Apr 2024 14:38:26 +0200 Message-ID: <20240419123829.120396-3-kamel.bouhara@bootlin.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240419123829.120396-1-kamel.bouhara@bootlin.com> References: <20240419123829.120396-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 Content-Transfer-Encoding: 8bit X-GND-Sasl: kamel.bouhara@bootlin.com 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 c23fda1aa1f0..d8208dc23a98 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -22414,6 +22414,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 -- 2.25.1