Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp3035153lqo; Tue, 21 May 2024 05:11:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUNkyFntg3qbgz+jvkN52kOSXF24YrXfYS/+D2lDRRx9BQR33kyF1Wzpq65g34DNYElyAT1GRA1D2RBVfVGUqNn90vZt1l32SYRmLVtUg== X-Google-Smtp-Source: AGHT+IFKD1UijvDnBtdvyM9RAdtzF0vYvB/yWwrPuYuJRItT+qaY0uY96TPf82XhTXIc/yDVdcH8 X-Received: by 2002:a17:903:11ce:b0:1f0:8bb5:2ab with SMTP id d9443c01a7336-1f08bb5046cmr228235325ad.41.1716293475874; Tue, 21 May 2024 05:11:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716293475; cv=pass; d=google.com; s=arc-20160816; b=McEPUhtICCEnsOQty3f2K8I5uVF2zHEttJbONmqdg0MFPpYFam3aWIu4izOQVdmqKg T6PQHC9icMhsPRJbZ+CDI4Vd6zKsTEJ+vz625EWUx65+9ldzDiJ7gRE/jIlsSfbMB/7b mEYTAmusYRsOv1KrxRMh9atCPqal2nZbSv++Fjda4UPhgbqkNBLGIQNpAgc+y7WuEECU U5mddt+PdOQad63UfH7UYedO7k/Gm8f/y1ALLyOatsEnIaYXXIvjvpm+KG5oaA4nL+am q+1s/Jf4eDTy7FFQTm/86qmMN7JK014cM4HD8oYGubOgsh30/zSYR5wbACxNKVl+fiQn hjVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:from:dkim-signature; bh=0un+pNuj+6DI370fAcn7S2Xns/RGSTMZpnFsxEk6D2c=; fh=sVRaTOtKjyPSN0s9b+jqMnKtcpQylPSzoS8zNL3FCco=; b=GvZEiFSAR5bi3+dx7rijbe8z5MJ0dJCpBUWQVkaQ/cUbmyigo875Xz6mZ+aArgePfl bQVLTw6zrIh0I0ftg8BSJ2bxzYcEMyycg6bfZZYTyV5hqAP51VBWBUNJ6MGX6EuQLO8c xEb8LVKjq7raU/m2VuCYlhLktPLh/uTiLSeNeVn4+we56rkiOdwyCeseWrlAzedCGusu f5yEnsAp/ifiU2fMiTfVuaIteNnFbYCiwgTgW81SfUG92LlvUfP1NR+Sl+Riznt3TfI6 huBNEHeRRXnXnuOlaV4ZzYTPdhQh3W2nHSRfNyUEDfFNP/891kK/nUHrFJxkquVpToEf twDQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tSy9jzyo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-184928-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184928-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f2e0b33e46si40580595ad.409.2024.05.21.05.11.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 05:11:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184928-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tSy9jzyo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-184928-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184928-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 66132283E1D for ; Tue, 21 May 2024 12:10:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 36FD1770EE; Tue, 21 May 2024 12:10:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tSy9jzyo" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 447A176025; Tue, 21 May 2024 12:10:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716293428; cv=none; b=tduuuOWJFAK71XzQ9GUUO1KzulUqOuLR7zCU70XYPW5ffQYroLNv82N1qJoXmJW0plll1rI6HhYqlzu7xOMO079rXiu3OjFhhrfEi0yTpkFJwsp4878+ty5PGp9IBJZK3THzhk6yMxqSXvxTKf5MphNwOF1ZD+3OA2z1TR7PmmY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716293428; c=relaxed/simple; bh=f2GQ0va2lsLTO8nlzPzR6f1yERxb6qBUyy6szVB7sAM=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=O4ArjDmpsKgt/5qLnnWgBtuUoFYgtbpIBPWcV3X6uCb6+FB+2jPyHFrqV285L70OGCu1ZFVH9AnazRgHrJmLEDwTx6IQenYgzkyFMHkbDg7WmhFqXvsgACjO4gi2jZolov80/TFIurImpFkBJKeEJheeks/mlJeqedefJsScNbI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tSy9jzyo; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id C839CC2BD11; Tue, 21 May 2024 12:10:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716293427; bh=f2GQ0va2lsLTO8nlzPzR6f1yERxb6qBUyy6szVB7sAM=; h=From:Subject:Date:To:Cc:Reply-To:From; b=tSy9jzyoijfqBI59lgA6oL+x4sNWOSz//Hs6yMCVWi5/gMBKScYRp6RaqM40s5wnB hUxxsP7i6vD8++xZSqE+kys/5mluxZs3KtAWe6pX3rl/haMDLZDex4uy9paPEtEGJ/ mUXle1pXdMrizuolWU3tHnluXrnjKS3P7wVRENzT5PS+DoUkM2CVuGdXdZCxzOceZZ EFVLl0e7Ek+Q4t1qXjwAuXeaqUDNR8+UtVRSWv0N+KjXbzZeBTNZhWHD/WpnqOhf97 uXvmGs5Nv7w6njANCPoSkzZNhAohpzD7gx9+962Jz7nCTmzMHdxnDoAWB9lMsws+Pm EZ6uxKYaSEO1g== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B37F9C25B74; Tue, 21 May 2024 12:10:27 +0000 (UTC) From: Joel Selvaraj via B4 Relay Subject: [PATCH 0/2] novatek-nvt-ts: add support for NT36672A touchscreen Date: Tue, 21 May 2024 07:09:44 -0500 Message-Id: <20240521-nvt-ts-devicetree-regulator-support-v1-0-8d766c639dca@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAiPTGYC/x2NwQqDMBAFf0X23AUj1mp/pfSQxqddKEnYjVIQ/ 72hx4Fh5iCDCozuzUGKXUxSrOAuDYW3jytY5srUtV3fXt3IcS9cjOfqBhQFWLFuH1+Ssm05Jy3 sw4R+et1G7waqpaxY5Pu/PJ7n+QNYFuZEdQAAAA== To: Hans de Goede , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Joel Selvaraj X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1716293427; l=1155; i=joelselvaraj.oss@gmail.com; s=20240420; h=from:subject:message-id; bh=f2GQ0va2lsLTO8nlzPzR6f1yERxb6qBUyy6szVB7sAM=; b=RwjnyeMqeGDD586cQXkEIsoybnrUaiCO8HAys+wB2ry3yzDHXQjh8LXhO3b3RTvs2fuPPGF4w XNDDR+VcijjD6awjhM6ZJsneWQ62X3ZMHBccN8iPQVlpoHccYsX2p3i X-Developer-Key: i=joelselvaraj.oss@gmail.com; a=ed25519; pk=qT4gsuVtlPE0Dpr+tQA/Fumm7wzVP6qfeVaY+6pX04s= X-Endpoint-Received: by B4 Relay for joelselvaraj.oss@gmail.com/20240420 with auth_id=165 X-Original-From: Joel Selvaraj Reply-To: joelselvaraj.oss@gmail.com Extend the novatek touchscreen driver to support NT36672A chip which is found in phones like Xiaomi Poco F1 [1]. Added devicetree support for the driver and used i2c chip data to handle the variation in chip id and wake type. Also added vcc and iovcc regulators which are used to power the touchscreen hardware. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts?h=v6.9 Signed-off-by: Joel Selvaraj --- Joel Selvaraj (2): dt-bindings: input: document Novatek NVT touchscreen controller Input: novatek-nvt-ts: add support for NT36672A touchscreen .../bindings/input/touchscreen/novatek,nvt-ts.yaml | 62 +++++++++++++++++ MAINTAINERS | 1 + drivers/input/touchscreen/novatek-nvt-ts.c | 78 ++++++++++++++++++++-- 3 files changed, 135 insertions(+), 6 deletions(-) --- base-commit: 6578aac6a270bd6deb9f9319b991dd430de263dd change-id: 20240518-nvt-ts-devicetree-regulator-support-ac9e49b78a16 Best regards, -- Joel Selvaraj