Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp136495rdg; Thu, 12 Oct 2023 00:41:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEIPGBKQHdFA58APAIueoNZi0DbbshxFk2zIOJNOVyaLywjzRVzmScx2I61qZ5A/ipTDHdI X-Received: by 2002:a05:6358:33a3:b0:143:7a89:a8e8 with SMTP id i35-20020a05635833a300b001437a89a8e8mr26108169rwd.10.1697096485432; Thu, 12 Oct 2023 00:41:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697096485; cv=none; d=google.com; s=arc-20160816; b=fmnHqUSeZGxjFHk73Rb4+loCw4cXkyIjLyLIN/ZQsCvqP+xvJGNcGtARE6I/KG2aiA baNHTWEUhkpTGmRr6/RJPwg9Lm2EOeOfLMu7cWyUPtiPKR2s8Czi8i3i7mbTKZxZEqWN 0aEBJsNXK8tSzD8yGCqKQnQwAGbVN4pkpxHS/OV/aA1YMwmj72N7e5Zoackt9UZTpsOY NljmD6UlRkOQebBpiVchZ7OtSDkAIvwYFll873rSX4UUwW4hfDonLeLpWQdJhXf2e+9S iyXMITvu/M3KfN4BMT1euWvNFMh4QcyXgzlkPLX8MST2tTnjZBIrBtimvb4svp3egbsl kpfw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=heuK9wS/h1/ViEMBxRuLhXkO1DWVAWnfvQ+18TvSWvU=; fh=qh0Lqljq3ePEBPGwVks0cAockPYNzokfoUUL/3RWWhQ=; b=wVnBFr+3zjUwCmtud5h+EsTlu0RkpTEYlx7Uj6KvvcKaFF53pCYQx7kHxe3YJ8yeAJ xfZ0CKUKgpPJLx533k8HqzR6owPNQ7smvJYUs52m4Nyx/BHMi/aw2WSq7JLGsPqg+pkw yx0WPfJxGXMuz1E4lvMXbKCpWyN2WnoEDMeyeripSxs4TVg9+YhW7CO7Zqaa+esQA4Yq a0UGljpKdUKYuvcrZhXhs00IHrwnSb0jrQSTIpr9RwfQRT1VTFyvPmludfXOuxp2YMsZ wJI0MWfBxK1cpbxW8nXCtqSLPRg5zXg+r2Je3ucltehM1ZMkeZBFgMREaik9Zx4PWcv6 bycg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=DFFu+kfm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id z4-20020a056a001d8400b00690c19cb105si13651367pfw.250.2023.10.12.00.41.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 00:41:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=DFFu+kfm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 985768051CAD; Thu, 12 Oct 2023 00:41:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347176AbjJLHkt (ORCPT + 99 others); Thu, 12 Oct 2023 03:40:49 -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 Content-Transfer-Encoding: 8bit X-GND-Sasl: kamel.bouhara@bootlin.com X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 12 Oct 2023 00:41:17 -0700 (PDT) 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 -- 2.25.1