Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp188828lqh; Fri, 3 May 2024 19:15:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU+Oc1uxCVT0YHSfzAz5HO+VhXuUqECDvoZm5bjLJCMmtuKSVNLFnVVifmcdm2YsL4CMEhd+7rNVfnzyiuebPOMAcRXqGVZEnEpHo7zAw== X-Google-Smtp-Source: AGHT+IFv5RQbsGBsG0LKqUp6rG2SeidOudW/1XQInmH8hIliBqcTp3G7eb+ziixLm6uhy0lPi37t X-Received: by 2002:a17:902:bb17:b0:1e8:26e4:d084 with SMTP id im23-20020a170902bb1700b001e826e4d084mr4310270plb.60.1714788940130; Fri, 03 May 2024 19:15:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714788940; cv=pass; d=google.com; s=arc-20160816; b=A5LEnhVS3Ojat+q0DjK6rz9aoPn8CMAkYwLPMjzIi7HB6xpoIe8x9Z1x7ksatcNwQj Ji27fLgizu0wu4oQTgca+aQE9p9AWCBzMosVQCoQU8jP7MxJL2e5HsjeyXJnymtYQrAy dIdRR1vXVOL1vI44B7lldk+XJIsHsub0Li0Amex4UXDJ3L6o9VzXs7m5aPgmQlbR8PZZ dNRPKm8uL5/K2JXj5jPrHg6Z2B3qOa+/LQCawbcEo541wpZjiG6FcMMFJYJ55/TGXj/O jRu3vb7THgkvAmBvREE3n47OK1Tl5OSet810nfBqCCmiPb+pQigGxMUbDkJ+hMBvslHW IkwA== 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:message-id:date:subject:to:from :dkim-signature; bh=hBpfk745PJzZA78WwD307p1qbXyVdOfgUX8fjEBo+Ts=; fh=3Ml11XK5MY/MGDMKcsZeKW7JtixbKgbbbw2mRmCYf9o=; b=RBGa8YIJiyGWxe8Qh5/h3gKrlQxVEqpjEdIrf6D6ZubKSDk23wJcBsApoD1cpQ7mAh 4w9SbSl0r3SJ/3hMe1XXKXiL/K19XuozsSUSoj9z6hT4Wch8Tg0MpLNRcLuO1DHhFCNl fN3IXsWgwTyrrRPjhgF098FmmUdUG9aPwYjbVnt4WC/XN1lZpQwFKWZ8mS57kIhY0E5M ++ecHtHFO9Sq0LhjqLLO6i/uE481R+Wi2Ao4NMwGvhdRMQl3b7oR1m1SshqkbC/hK745 XvsPIwyOQE2JwQf+aTYAZc8J0UME5nzQizhi3unbkILZy7Ud6hKCA4T1pRK6PCRsR+Rh h6BQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kaechele.ca header.s=201907 header.b=OhtppCQq; arc=pass (i=1 spf=pass spfdomain=kaechele.ca dkim=pass dkdomain=kaechele.ca dmarc=pass fromdomain=kaechele.ca); spf=pass (google.com: domain of linux-kernel+bounces-168493-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168493-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=kaechele.ca Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q8-20020a170902a3c800b001ed2d71e022si2522638plb.23.2024.05.03.19.15.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 19:15:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168493-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kaechele.ca header.s=201907 header.b=OhtppCQq; arc=pass (i=1 spf=pass spfdomain=kaechele.ca dkim=pass dkdomain=kaechele.ca dmarc=pass fromdomain=kaechele.ca); spf=pass (google.com: domain of linux-kernel+bounces-168493-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168493-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=kaechele.ca 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B8827282828 for ; Sat, 4 May 2024 02:15:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 89FA512B7D; Sat, 4 May 2024 02:15:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=kaechele.ca header.i=@kaechele.ca header.b="OhtppCQq" Received: from mail.kaechele.ca (mail.kaechele.ca [54.39.219.105]) (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 27FBF1FA1; Sat, 4 May 2024 02:15:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=54.39.219.105 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714788923; cv=none; b=pDBUgq9Nu6v8AIyYtPXMOtyTNcewlmm6vTJhJ3Tv/jZ/6PxNeuFOlzsmZ3JNsJly/h8A05V2EQodhaaGFhqb8LNcp59d4PmDla5FSGgskxR8Du6141iavtC54zTJ3PFdyD79QbcGDwSgPxyEdQjnJsJhgzPJxvDHSpyDu8ymPZI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714788923; c=relaxed/simple; bh=faSOwVcykO18Wfl4IuRvnoB9ojJOirqEh7G+O9IVOmE=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=Y4LFpGOD0ymCrN+l5EQUDMJ5CbFMNpKA4nV7dRM51U157s9rcdw1mPUgP4EnmVr+E4egjHsdwjVDy+lu1gKo8jODZiXmS7JYtvahQTTfZF+fRU4hjPWvenurkIaw9F8NjVmglcDpbq9ywAPZTlNw3ydeU4JGXHdwkE7e8uYdjfs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=kaechele.ca; spf=pass smtp.mailfrom=kaechele.ca; dkim=pass (1024-bit key) header.d=kaechele.ca header.i=@kaechele.ca header.b=OhtppCQq; arc=none smtp.client-ip=54.39.219.105 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=kaechele.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kaechele.ca Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id A86F0C005F; Fri, 3 May 2024 22:07:59 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kaechele.ca; s=201907; t=1714788484; h=from:subject:date:message-id:to:mime-version: content-transfer-encoding; bh=hBpfk745PJzZA78WwD307p1qbXyVdOfgUX8fjEBo+Ts=; b=OhtppCQqEghly9KMZyqvlqvg8ez5Z17AxXfigAA2JsSQnHaEfUD6TPh329pAWl9LcWc0WH G/62wraDZzxR7QCOR3AhbghUdxxQtGdj+n9jJiQoFc226wsAB7kSlzd1qYMsKzdwzIEneo xRGz3jCB1vFHDhUB8ouuRGU4TZ2PzNo= From: Felix Kaechele To: Job Noorman , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/6] input: himax_hx83112b: add support for HX83100A Date: Fri, 3 May 2024 22:04:39 -0400 Message-ID: <20240504020745.68525-1-felix@kaechele.ca> X-Mailer: git-send-email 2.44.0 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-Last-TLS-Session-Version: TLSv1.3 This set of patches brings support for the Himax HX83100A touch controller. To properly bring the chip up, support for regulator handling is also added. I have no access to datasheets. So, like the original driver code that's being extended here, this code is mostly based on the quite convoluted, GPLv2 licensed manufacturer drivers for Android. I included links to sources and references where appropriate. A number of people tested this patch set on Lenovo ThinkSmart View (CD-18781Y) devices. That device has a variant utilizing a Innolux P080DDD-AB2 LCM. This LCM comes with the HX83100A. I would really appreciate if people using HX83112B chips could give this set a run to ensure nothing broke. Thanks, Felix Felix Kaechele (6): dt-bindings: input: touchscreen: himax,hx83112b: add HX83100A input: himax_hx83112b: add regulator handling input: himax_hx83112b: use more descriptive register defines input: himax_hx83112b: implement MCU register reading input: himax_hx83112b: add himax_chip struct for multi-chip support input: himax_hx83112b: add support for HX83100A .../input/touchscreen/himax,hx83112b.yaml | 9 + drivers/input/touchscreen/himax_hx83112b.c | 187 +++++++++++++++--- 2 files changed, 166 insertions(+), 30 deletions(-) base-commit: 7b4e0b39182cf5e677c1fc092a3ec40e621c25b6 -- 2.44.0