From nobody Thu Jan 1 09:05:52 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E99E6C00A8F for ; Tue, 24 Oct 2023 18:36:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344174AbjJXSgL (ORCPT ); Tue, 24 Oct 2023 14:36:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344167AbjJXSgH (ORCPT ); Tue, 24 Oct 2023 14:36:07 -0400 Received: from mo4-p02-ob.smtp.rzone.de (mo4-p02-ob.smtp.rzone.de [85.215.255.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6A0C10DE; Tue, 24 Oct 2023 11:36:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698172554; cv=none; d=strato.com; s=strato-dkim-0002; b=ja8T6NxLVZFtwNQxHTqJMik/bXM7QQpGElHC8shWYJlRVqxae/UhM7QTtMQiihod7x MPbN7ukblot6tEZV9l8KvvlLJaRp1IFkhwOBqukMB8ErAu4s++WJ6uG5nT7Mx4BC5SR5 m3A+PQLwmnhCtN/GiZ7ulAywLbvIL9wEGj4qSCTeYgAr7p5VBx3Xlt95EN1S10Kmq7nz 7v7V5qSofx7aiHyiQfuMmCQYuOs5hQw8HmbHXlf+h5XwHifURZHfDGUCpG4e/FKZA/ZU vUpeyCnFlxc9KGwu+KD2/PX18qi/jwIOmH7qRwhK3nHhR2xvK0Ccwy1Ln44mDVhacVS8 fw7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1698172554; s=strato-dkim-0002; d=strato.com; h=Cc:To:In-Reply-To:References:Message-Id:Subject:Date:From:Cc:Date: From:Subject:Sender; bh=lUzNzqc8pnjA19u06jBcBi2HrnJlfBUjIE0lrHSoBuU=; b=DgmDauJ0SUoXAQFFlpfEJ62/Hhhmz6jc85pr7rear0KMMePocOl9Bkmmdn203/2pJV 43jCJB99AEt8BdUg4DD6+x3AqtQMkeG8JZJap592mj0D6Pnvd/9OYHAac7tSyLSba3Yg rb1APRQfRtxobq2BspcpkVxbKB6bEXt4zFTKhqV2j8v3wFvUQg0MInZ1luFk+xk7nTXJ bu+xnFWMl7sNFBcVGRAepaun4k0gJHitwLxf3oRFcYaiwI+Jh9nSO+BwTgHAS9jl8NVH Os9Ajn39cCS3H0r2av04VKFhGfGzFOX3CDf33GVelf1CoaUawWGJnnKFtLMBwbwdaXax p2zw== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1698172554; s=strato-dkim-0002; d=gerhold.net; h=Cc:To:In-Reply-To:References:Message-Id:Subject:Date:From:Cc:Date: From:Subject:Sender; bh=lUzNzqc8pnjA19u06jBcBi2HrnJlfBUjIE0lrHSoBuU=; b=oKDlTZ/XFqSimcl59y2yt7OAFQ3KS49iFG7GwfERLff5ldCBQbhyCmmUcb8+bl3qGz GxzHiX4/T/K+TB92ZB/WTePT278ZtM7y8TTccO0zNFB2yYSofUtXfmYWC0K4PT0wP+V9 hbGVEKDGMRq/CmByMpeLRyZRKDUK5S8GwasylgOlIr5bvgCKYwAaD5ySO+5CHMPnnzCK Q4HASkOnaKmSkb9tQEr8tUwQHxpUdKf/fLaByuNCb83R24uxo+eWWEFcDkoayY+1MBKF 3u/prEMmoRL7njxbgIHpYYcIoF6ykjJvZluu0usisB5gV1/Ih8d8jnb6LtY2JuhsYTMk teXw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1698172554; s=strato-dkim-0003; d=gerhold.net; h=Cc:To:In-Reply-To:References:Message-Id:Subject:Date:From:Cc:Date: From:Subject:Sender; bh=lUzNzqc8pnjA19u06jBcBi2HrnJlfBUjIE0lrHSoBuU=; b=fBJsoTi8nmjIJ0YScR3LygOx2BI/VXb/KNrMD/sYk5VP4j+U0QMGkpWeHTweNIbMuQ 0uzAd3TmASlWrWQ4RiDw== X-RZG-AUTH: ":P3gBZUipdd93FF5ZZvYFPugejmSTVR2nRPhVOQjVd4CteZ/7jYgS+mLFY+H0JAn8u4p39TY=" Received: from [192.168.244.3] by smtp.strato.de (RZmta 49.9.0 DYNA|AUTH) with ESMTPSA id j34a49z9OIZrRxh (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 24 Oct 2023 20:35:53 +0200 (CEST) From: Stephan Gerhold Date: Tue, 24 Oct 2023 20:35:45 +0200 Subject: [PATCH v3 1/2] dt-bindings: input: touchscreen: document Himax HX852x(ES) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20231024-hx852x-v3-1-a1890d3a81e9@gerhold.net> References: <20231024-hx852x-v3-0-a1890d3a81e9@gerhold.net> In-Reply-To: <20231024-hx852x-v3-0-a1890d3a81e9@gerhold.net> To: Dmitry Torokhov Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Henrik Rydberg , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jeff LaBundy , Christophe JAILLET , Jonathan Albrieux , Stephan Gerhold , Krzysztof Kozlowski X-Mailer: b4 0.12.3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Himax HX852x(ES) is a touch panel controller with optional support for capacitive touch keys. Unfortunately, the model naming is quite unclear and confusing. There seems to be a distinction between models (e.g. HX8526) and the "series" suffix (e.g. -A, -B, -C, -D, -E, -ES). But this doesn't seem to be applied very consistently because e.g. HX8527-E(44) actually seems to belong to the -ES series. The compatible consists of the actual part number followed by the "series" as fallback compatible. Typically only the latter will be interesting for drivers as there is no relevant difference on the driver side. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Stephan Gerhold --- .../bindings/input/touchscreen/himax,hx852es.yaml | 81 ++++++++++++++++++= ++++ 1 file changed, 81 insertions(+) diff --git a/Documentation/devicetree/bindings/input/touchscreen/himax,hx85= 2es.yaml b/Documentation/devicetree/bindings/input/touchscreen/himax,hx852e= s.yaml new file mode 100644 index 000000000000..40a60880111d --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/himax,hx852es.yaml @@ -0,0 +1,81 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/himax,hx852es.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Himax HX852x(ES) touch panel controller + +maintainers: + - Stephan Gerhold + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + items: + - enum: + - himax,hx8525e + - himax,hx8526e + - himax,hx8527e + - const: himax,hx852es + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + description: Touch Screen Interrupt (TSIX), active low + + reset-gpios: + maxItems: 1 + description: External Reset (XRES), active low + + vcca-supply: + description: Analog power supply (VCCA) + + vccd-supply: + description: Digital power supply (VCCD) + + touchscreen-inverted-x: true + touchscreen-inverted-y: true + touchscreen-size-x: true + touchscreen-size-y: true + touchscreen-swapped-x-y: true + + linux,keycodes: + minItems: 1 + maxItems: 4 + +required: + - compatible + - reg + - interrupts + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + #include + #include + + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + touchscreen@48 { + compatible =3D "himax,hx8527e", "himax,hx852es"; + reg =3D <0x48>; + interrupt-parent =3D <&tlmm>; + interrupts =3D <13 IRQ_TYPE_LEVEL_LOW>; + reset-gpios =3D <&tlmm 12 GPIO_ACTIVE_LOW>; + vcca-supply =3D <®_ts_vcca>; + vccd-supply =3D <&pm8916_l6>; + linux,keycodes =3D ; + }; + }; + +... --=20 2.42.0