Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2736858rwi; Tue, 11 Oct 2022 12:39:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7GG4JWXQ7T4t4iy9PKSPAkxoeW2f1PQN3DYt/dKOtRj1i/4LfeUYVLnJgxZdtiDqQmKWr/ X-Received: by 2002:a17:902:db12:b0:176:d6a4:53ab with SMTP id m18-20020a170902db1200b00176d6a453abmr26864154plx.113.1665517186688; Tue, 11 Oct 2022 12:39:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665517186; cv=none; d=google.com; s=arc-20160816; b=qvxnqfZjIYA/GObtD0mDYxuXs9TmWfZoS5tpc5Sru8IVq1nsdkns/Co7dqletCuYGX Lon87TSizARp2J672qJLPZLKoHb4I9dn0XyccTctjk0FIc8CAqMrpP/4eTHHNiMTZQkU fvJqbfn2QH/Uadsk/ES41w/NuKdiAhDtpiti8tzpbC1oDpATlEwHLw+wx/aM8E9OEKPn d+DqbMo56n7Nka6TS4Mq71AsPDln7OZIqFI++gl8l5AAo7ABbpDTDORLcBCwfM3Cy3K3 DF3zkv8Ui20NZ79WG9KbOzzVsE0N4tsc1g/i6Sttr8TZZ5uB0b9YcdR5aVDSir02rV8x 9bkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:message-id:subject:cc:from:to:dkim-signature:date; bh=cUA9w+TR1CwCowvfDEfjdWk184wmOwUiLKbtVJgBB3A=; b=sR71yQHooHbag8NorpgAUNo5jPe+jkm+6O3FUOBT7f30aM3a/huF+KT7A5/YwhCpeR fKc7/rVFuJsvpC9XZKnn1Fw6yA8SCUyZIqIHbsQaLZ5e8OhOQbwA9wzdrTVyvxLHBD8J vw9DcVwvsrJzpeBwBsh6fJ15ne4XK0ZN+ezYFKEBIA+JTR4+8fLP7qWy83BwXre0S6kJ 8Q533XbGqtmudGXd6UkJFr/kKoT8GTf/VlFqMOBoQyQ5v3oLpiCv4g7ckk9+eK16c5BG lmH0jKWBODdlLK41iUOi/woBjHCzuGTLTIHQRTtG30eCHeTRtdZ8nUKF/sAiGvu8yhcK DPSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@noorman.info header.s=protonmail3 header.b=I5Jxa0Uy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x14-20020a63170e000000b00462151e3925si10082115pgl.49.2022.10.11.12.39.21; Tue, 11 Oct 2022 12:39:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@noorman.info header.s=protonmail3 header.b=I5Jxa0Uy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229771AbiJKTJJ (ORCPT + 99 others); Tue, 11 Oct 2022 15:09:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230100AbiJKTIr (ORCPT ); Tue, 11 Oct 2022 15:08:47 -0400 Received: from mail-4317.proton.ch (mail-4317.proton.ch [185.70.43.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2FFA5D0D0; Tue, 11 Oct 2022 12:08:39 -0700 (PDT) Date: Tue, 11 Oct 2022 19:07:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noorman.info; s=protonmail3; t=1665515291; x=1665774491; bh=cUA9w+TR1CwCowvfDEfjdWk184wmOwUiLKbtVJgBB3A=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID; b=I5Jxa0UygdvECoK1FrATXZLbH6BsloyJMFA9SibfXLxSS2I+E0yc50UQE0NjG4zk9 GotR5qpxLMrgnkc86pfsqG4Lo9KNA7uX/x8pScPf8BbLQPMpVeUCgY4HH/LBiKwjfC uexkp2jr5c1J4yte8eLEstyiZEGcg4hIOTC/Jptz5c/KqTt1g9j2n9R3Tug9dIdzlk IYPQ63EPMprYFNI/vEGzsP/OXF22bD9hHbQWJDFCT+OIs4lAixJ8+T4RegqgamK57X 00vHo7/BdyjBNTvh3PzYkEJsJAPmphMHivgH8VVDOdI+o6ofQ2bvEpaSdddW+rM0D+ dMjtcxK/7ldEA== To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Henrik Rydberg From: Job Noorman Cc: Luca Weiss , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 0/3] Add Himax hx83112b touchscreen driver Message-ID: <20221011190729.14747-1-job@noorman.info> Feedback-ID: 14439221:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds support for the Himax hx83112b. The hx83112b supports 10 point multitouch with hardware tracking of touch points. It is the touchschreen used by the Fairphone 3. Note that a datasheet was unavailable for this device, so it was built based on the Android driver that was tagged as GPLv2. This series is a complete rewrite, though, and the code bears no resemblence to the original implementation. It is expected that this driver can be made to work on other hx83xxx devices, especially the hx83112a used in the Fairphone 4. However, since we have been unable to verify this, this driver only declares compatibility with the hx83112b and uses very specific file names. Job Noorman (3): dt-bindings: touchscreen: add Himax hx83112b bindings Input: add driver for Himax hx83112b touchscreen devices arm64: dts: qcom: sdm632: fairphone-fp3: add touchscreen .../input/touchscreen/himax,hx83112b.yaml | 59 +++ MAINTAINERS | 7 + .../boot/dts/qcom/sdm632-fairphone-fp3.dts | 14 + drivers/input/touchscreen/Kconfig | 11 + drivers/input/touchscreen/Makefile | 1 + drivers/input/touchscreen/himax_hx83112b.c | 376 ++++++++++++++++++ 6 files changed, 468 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/him= ax,hx83112b.yaml create mode 100644 drivers/input/touchscreen/himax_hx83112b.c -- 2.38.0