From patchwork Thu Oct 12 07:40:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamel Bouhara X-Patchwork-Id: 733017 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 E8167C41513 for ; Thu, 12 Oct 2023 07:40:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235322AbjJLHkq (ORCPT ); Thu, 12 Oct 2023 03:40:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347174AbjJLHkp (ORCPT ); Thu, 12 Oct 2023 03:40:45 -0400 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::228]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B635BB8; Thu, 12 Oct 2023 00:40:42 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 939D31BF213; Thu, 12 Oct 2023 07:40:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1697096441; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=heuK9wS/h1/ViEMBxRuLhXkO1DWVAWnfvQ+18TvSWvU=; b=DFFu+kfmRACXK4mcSTUWdCR7dGinlz6lcaC8WodAR0tD9NKtS2iXvKT1Q215rD7xb/fDV4 1bFbVbFcOgHnxxY2vBRz5r6L7vAH898733+QMOTSadBZ2kNud0z01azXLs2zZHvN5xmBZF 3oavn2NHYi+bcpq8G0CGbP0nvt7OJgQNQiV0VXkqYYeAASZwLQMT34oLPuAz2Qj4tbT6Y2 9HJyvnVfsEIR+g1p2Qe/p2LkYjwyoevVUe0G6vkVTJfv+vKYg3H5yR5VfHpH4o7Gyx4iDv iUBCiIdY10PhmKrXfoYm20dkotoqkX5Bb4k7Z3xG7oT7fU/ro2EEnlzcKD771g== From: Kamel Bouhara To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Henrik Rydberg Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Marco Felsch , mark.satterthwaite@touchnetix.com, bartp@baasheep.co.uk, hannah.rossiter@touchnetix.com, Thomas Petazzoni , Gregory Clement , bsp-development.geo@leica-geosystems.com, Kamel Bouhara Subject: [PATCH v3 0/3] Input: Add TouchNetix axiom touchscreen driver Date: Thu, 12 Oct 2023 09:40:31 +0200 Message-Id: <20231012074034.1090436-1-kamel.bouhara@bootlin.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-GND-Sasl: kamel.bouhara@bootlin.com Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Add a new driver for the TouchNetix's axiom family of touchscreen controller. This driver only support i2c and can be later adapted for SPI and USB support. --- Changes in v2: - Add device tree binding documentation - Move core functions in axiom_i2c as we only care about i2c support now - Use static function when required - Use syntax dev_err_probe() - Add an hardware based reset Changes in v3: - Remove irq-gpios property in dt-binding - Use a generic node name - Fix issues reported in https://lore.kernel.org/oe-kbuild-all/202310100300.oAC2M62R-lkp@intel.com/ Kamel Bouhara (3): dt-bindings: vendor-prefixes: Add TouchNetix AS dt-bindings: input: Add TouchNetix axiom touchscreen Input: Add TouchNetix axiom i2c touchscreen driver .../touchscreen/touchnetix,axiom-ax54a.yaml | 47 ++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 7 + drivers/input/touchscreen/Kconfig | 13 + drivers/input/touchscreen/Makefile | 1 + .../input/touchscreen/touchnetix_axiom_i2c.c | 740 ++++++++++++++++++ 6 files changed, 810 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/touchnetix,axiom-ax54a.yaml create mode 100644 drivers/input/touchscreen/touchnetix_axiom_i2c.c