From nobody Thu Oct 2 15:33:01 2025 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD19B31D727 for ; Mon, 15 Sep 2025 14:20:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.68 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757946015; cv=none; b=lutcEZRpKjZ7VALISlX3y+VqhyD8N55AgvJlLC5AMXx+rXuKbhHI22fEdcuIVit7pEe5N0fkNck7yqajr1YMWFiSeC8rYyICcXTHAAZnQTnoYZQniySL6QImMLKNNkLWvd5G/seb131NctdzWT1rf7GCNmT7fmnzFjrFPhVwkfs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757946015; c=relaxed/simple; bh=8Qnm3ZHlu5D9iJRuLjIbduVppAN2k0oBQs6Ewj9hYZ4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=amo/RgQQXIZYnitx5Aau6yfXehUoRMiWJcBhRkYjKXekXYMjGZwnvksFaOyOgty7viAjjg9pXwd/dPoo7en/iCT16Ay4/91CLnRIFc7wTEmI3NN30jrUenyKgnsggva69pCzaQ39vYiBb9wEHQVWk0fNl/6ZvyHIrH03AclmSsE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=R1EoUba4; arc=none smtp.client-ip=209.85.128.68 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="R1EoUba4" Received: by mail-wm1-f68.google.com with SMTP id 5b1f17b1804b1-45dec1ae562so38575695e9.1 for ; Mon, 15 Sep 2025 07:20:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1757946011; x=1758550811; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=6BaeP+u139pVz62zC0j4CWHyJGRFuQubU7wGhgVzl9I=; b=R1EoUba4vyWzx//sQNU4jdYKU/y/xQSKScw5wRU6V8ZYJ+OSEpsVAogeWLCrnVRqM+ zthFjYbMiM9yTwN0oRtyJyNOb2XSrRxvLawJaoJ7sLUgn39WE9KwNPyrtyh3D5fiBWv0 y98VDyugUFBy7NACYJDfuTJ22FIK8XchhmLLXBF9QWzj54ISJJA7hcBQweXtKoii8Xof VYTbDMYMai+WMS6KbV5getJNTdO0aqL2v01VaD21nfidscWTVpv5GuvI1NaVlEhiDiIZ fxe3VnvmEyDBhj3sWEFZvwpC1wvRneSV445IIo0chbUTWPpPHBL/s9Nlr/obW3i+hVE0 +RKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757946011; x=1758550811; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6BaeP+u139pVz62zC0j4CWHyJGRFuQubU7wGhgVzl9I=; b=GaH7qj5uLpSmusivMInerFACQYEG+fV/POsT6OiGW8Qc/LxfLWmj3503i2sHBCr4lX YsNdyR8xhNM5JVAV90yTb4e6APa/ecH6lqc5Dmx0hQJes70DDMyyZINeSuFBX65nmxkp dCzNfUdAnCSz7g02qgEtZC9N8uIl/NMQL4dwAfuGMMI77FjudcYB3Z2gAiCX+Spawd55 ZBzZPwMgVAMVH0juiuf8Tsj94XcGBqKshr7BfIQ6YtVeGXCWkPctgMfcHA9Xo4ax6Ovc 85S/cJTvXv7aXDsW50duXnFRZxHmzXkhfySNMt5peGhaEqanlW85s8FU/5sGm+2fO6gg zeEQ== X-Forwarded-Encrypted: i=1; AJvYcCXg1JmeUChvc28ljSe/Cvb1fwpqOn4e8niX49h5pXkWBSWSP1p7VA6+Y52QtzqFHDYNAYD+geqUO1tjt4E=@vger.kernel.org X-Gm-Message-State: AOJu0YzupKACa1d6y60dbOZ0JxQ4vDxAZkVkXACWCuoPlnbmPQSi3QRp /zqqBWVvHVFw6zULB9LD0EoDgXxXfHPogGWeA8wOzTXuQ+FXvhRuvA4Wj801kbcTDTE= X-Gm-Gg: ASbGncsRY7UyOpftkiq5RG0XDo60seNLy+9w/vd0ftotBWUtzFiX8qyEyPz4z/fhbt7 +XI/sAIP9CdCGXFb1hf3Edu7OyLtaGubdkTa82G/I0XqRtMSXf/nt+1shF3EnERDuIVsy0CJKfV B/VQJZq0gz0y13U1+8qfohDj3KjkeuFlA+a4mX25od3Z6dE/YDAwhD27X8xh/1iVjWTRdBMDj+7 mhvZoV2gfyqGpqwsXGMIpk0GdQGYCE8J7/1KuwnfHRpDnkWCSU6Rymn4J4/o/QhYEV7NDfYg3dP y3iZKStDeDdO+flyjgyJLk5JILe6nBT4RDCpTCYHDdi7W9dfVppwmk8eUDqm6RqHsoOQZg9+GNq bO0W9mc7dGp6CpSwqidJkeKQssR0Z0QY4xrg= X-Google-Smtp-Source: AGHT+IHX7I6b0UJWPq4ArFJRqvCVjzHn8Mc/xKDrgkX25TYBbgOR2ULGGsJQIolv1a5OJ2m+Eq3Qxg== X-Received: by 2002:a05:600c:1384:b0:458:b01c:8f with SMTP id 5b1f17b1804b1-45f211cc941mr129811515e9.8.1757946011048; Mon, 15 Sep 2025 07:20:11 -0700 (PDT) Received: from [127.0.0.2] ([2a02:2454:ff21:41:eee1:5042:e713:2e9a]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3e7ff9f77c4sm11801928f8f.27.2025.09.15.07.20.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Sep 2025 07:20:10 -0700 (PDT) From: Stephan Gerhold Date: Mon, 15 Sep 2025 16:19:56 +0200 Subject: [PATCH v5 1/2] dt-bindings: input: touchscreen: document Himax HX852x(ES) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250915-hx852x-v5-1-b938182f1056@linaro.org> References: <20250915-hx852x-v5-0-b938182f1056@linaro.org> In-Reply-To: <20250915-hx852x-v5-0-b938182f1056@linaro.org> To: Dmitry Torokhov Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Henrik Rydberg , Jeff LaBundy , Jonathan Albrieux , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stephan Gerhold , Krzysztof Kozlowski X-Mailer: b4 0.14.2 From: Stephan Gerhold 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 0000000000000000000000000000000000000000..40a60880111de7f4994cd73457b= b8a1d4bfd6a88 --- /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.50.1