From patchwork Mon Dec 4 14:05:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamel Bouhara X-Patchwork-Id: 750237 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="OXmBsUwN" Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD327FE; Mon, 4 Dec 2023 06:05:24 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id E50E5E0009; Mon, 4 Dec 2023 14:05:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1701698723; 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=a6rnAmolp+N80gPMtSeYqw7s/ijlgg5xoG8iP1fNp/k=; b=OXmBsUwNoVZXyESHU2UswFXnnmRxDOoaqZOk7XevSVarbNJN1usMUAbqWXwV8d72F4T9zc QX00Akuxrcca5Au4agCnLQFxfhGDIob6njUjsEr5xI2cucQ0t2AeQWdTB3wjEodj6n3Dqn HaKwbBdK+ifWmwGcZ9TSTOO5SKj1uW3THdWV8pN/aHTLvEyQAe/6Ih2hLeHpKddOnqUyCN KtfWHMtsMYG2+dK3UJU9noq5a5bPHyQpCRMIJUuwTEFmkJ1Z10Bnk6o2lWmawQVcT9msAU zfOtbXtCujdspYX0c0y2iscf91B42KEW8bv5o2AxzFcnkNby6bcHaumtXQIg8g== 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, bartp@baasheep.co.uk, hannah.rossiter@touchnetix.com, Thomas Petazzoni , Gregory Clement , bsp-development.geo@leica-geosystems.com, Kamel Bouhara Subject: [PATCH v4 2/3] dt-bindings: input: Add TouchNetix axiom touchscreen Date: Mon, 4 Dec 2023 15:05:03 +0100 Message-ID: <20231204140505.2838916-3-kamel.bouhara@bootlin.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231204140505.2838916-1-kamel.bouhara@bootlin.com> References: <20231204140505.2838916-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 --- .../input/touchscreen/touchnetix,ax54a.yaml | 56 +++++++++++++++++++ MAINTAINERS | 6 ++ 2 files changed, 62 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..ff216a2bacc5 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/touchnetix,ax54a.yaml @@ -0,0 +1,56 @@ +# 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 + +properties: + compatible: + const: touchnetix,ax54a + + reg: + const: 0x66 + + interrupts: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + poll-interval: + description: Poll interval time in milliseconds. + + VDDA-supply: + description: Analog power supply regulator on VDDA pin + + VDDI-supply: + description: I/O power supply regulator on VDDI pin + +required: + - compatible + - reg + +additionalProperties: 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>; + }; + }; + +... diff --git a/MAINTAINERS b/MAINTAINERS index 7608b714653f..4752d8436dbb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -21431,6 +21431,12 @@ S: Maintained F: Documentation/ABI/testing/sysfs-class-firmware-attributes F: drivers/platform/x86/think-lmi.? +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 + THUNDERBOLT DMA TRAFFIC TEST DRIVER M: Isaac Hazan L: linux-usb@vger.kernel.org