Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1905312rdb; Mon, 9 Oct 2023 06:45:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHPxcA3hSabx8MLew173KKs2jHYhsG1Nbu54WMtG6aR9e/MFZFP3qSI7BUomZISuilESley X-Received: by 2002:a17:902:d481:b0:1c8:7d21:fc50 with SMTP id c1-20020a170902d48100b001c87d21fc50mr14652385plg.56.1696859144148; Mon, 09 Oct 2023 06:45:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696859144; cv=none; d=google.com; s=arc-20160816; b=k2VgSQL+DH9/2Kt1q/++v9swA97gqLFT/yuztVl++cCVk5kxio8rnCNezKMNukDdF/ x2prKOjgchMp86tp8zcp6yIdVM3Un85+woMVhz63Fs6Q2xtdN8iuPpk6h4dh6JvFx7/M WNC2xLKx6pl5mKAKHLuAn0laI9OuTzTxFhPYa1fEVk2A+hW+ufiD2CHkKe6T+amGIgNG ktQKLMutDNC86ev/QqAWWVQbFYMW9Xd7A2YSdGKBjD8bgr04j7ZtDXHC9mMwMGvHPtgg 07Ipuwhovv4GzRdwgSajwIPz0V6M8aH+fCZIsm6T4YVkeju8KLl2CcsEYbhsjwjwlkiM +gNQ== 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=3jhpCvsya+E2eGbigp8XihjymSXHP4xEBq7kko3/DmU=; fh=9NC6j8GaV03IjQwNegxUswrsi8g3oUkBXbnK+A9v+aQ=; b=RoAUFbjKd37wjD+aS7PYB9uyzsyxKKrBqLVTP7z7ej0/s6TAAqRLOTpeIdxu7vjT+D dUZqBd7HVPCphXr0SMbUltg0pa9wv11gOMxso3L+8nVNPAHf9ixEIpMx9DQmzDe4E/VH 1W74ZeUu0yBQDIT+SxWI6Gs/Mk1uJ8nWtlOCnwp2hipcHRvC9CEV4AgAFzx9nGyXH1Ex l9TGikMXTXf43ey+Z0aZWOUSoNRELu/6YI0LCSAOkxnoCAvq/XMyLOE9ap4MU8JxWgrj 6/jH252kx3iyizO6/XY+RsolIO2DdvALnoQkR1VJQlnWOXpcXZT0+Xvhh5eNCdEOiKbi ylQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=DSPt4iLu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id ij15-20020a170902ab4f00b001c76a06b5b5si9595335plb.298.2023.10.09.06.45.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 06:45:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=DSPt4iLu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 0ADB1808A91C; Mon, 9 Oct 2023 06:45:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377425AbjJINoq (ORCPT + 99 others); Mon, 9 Oct 2023 09:44:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377428AbjJINoo (ORCPT ); Mon, 9 Oct 2023 09:44:44 -0400 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FCF0A3; Mon, 9 Oct 2023 06:44:41 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 4B42CC000B; Mon, 9 Oct 2023 13:44:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1696859079; 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=3jhpCvsya+E2eGbigp8XihjymSXHP4xEBq7kko3/DmU=; b=DSPt4iLu/HcnjbvtPQ0AC4c9yuKUKXmxAcXyFXorCIuFf/TOdT3pW/iINXnFcpfvDwdYkX gKyBn5e0Uwe2WOdSMUDjO/gQ9n1g2p3rAo7WADpPnKNEQZp+pAV3YQ7Wfy/SMCrgN1fUBG ntb5ZxB6XHHezFFDO8BK90ZorMjx0F8YOQQWtyARooSOZOnBgxxugSjwcsBDKyBdVdoRAx mFgbo4YtPYqQ+gTqTQAMMXKC6ovhHBhw4o1krOpCClqR5b6m9v442fLRla+TQ34zrGIhXX u29FH1S7LkgwpROCjGcBbj4qHGwNLo9z53MNGqsPeQWJ4XfwHEoKMWSn1iscbg== 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, mark.satterthwaite@touchnetix.com, pedro.torruella@touchnetix.com, bartp@baasheep.co.uk, hannah.rossiter@touchnetix.com, Thomas Petazzoni , Gregory Clement , bsp-development.geo@leica-geosystems.com, Kamel Bouhara Subject: [PATCH v2 0/3] Input: Add TouchNetix aXiom touchscreen driver Date: Mon, 9 Oct 2023 15:44:32 +0200 Message-Id: <20231009134435.36311-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=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Mon, 09 Oct 2023 06:45:14 -0700 (PDT) X-Spam-Level: ** 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 Kamel Bouhara (3): dt-bindings: vendor-prefixes: Add TouchNetix AS dt-bindings: input: Add bindings for TouchNetix axiom touchscreen Input: Add TouchNetix aXiom i2c touchscreen driver .../touchscreen/touchnetix,axiom_ax54a.yaml | 52 ++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 6 + drivers/input/touchscreen/Kconfig | 13 + drivers/input/touchscreen/Makefile | 1 + .../input/touchscreen/touchnetix_axiom_i2c.c | 751 ++++++++++++++++++ 6 files changed, 825 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