From patchwork Fri Apr 19 12:38:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamel BOUHARA X-Patchwork-Id: 790370 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="jf33nUx8" 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-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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