From patchwork Tue Oct 11 19:07:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Job Noorman X-Patchwork-Id: 614339 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 8489DC433FE for ; Tue, 11 Oct 2022 19:08:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229662AbiJKTIy (ORCPT ); Tue, 11 Oct 2022 15:08:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230102AbiJKTIr (ORCPT ); Tue, 11 Oct 2022 15:08:47 -0400 Received: from mail-4323.proton.ch (mail-4323.proton.ch [185.70.43.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FBF3915C6; Tue, 11 Oct 2022 12:08:40 -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 Precedence: bulk List-ID: X-Mailing-List: devicetree@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/himax,hx83112b.yaml create mode 100644 drivers/input/touchscreen/himax_hx83112b.c --- 2.38.0