Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp183479lqj; Sat, 1 Jun 2024 13:45:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVDo/SNCyXRPLt0adOOA3p5UicaKGu8zsPnVhH/nIK0t5gNhxFfNcnSCZri1s1D2A3jRhOmzqvolXZ6FKRJDeogMlYRvB6B7iSanFdb2A== X-Google-Smtp-Source: AGHT+IFAH9xnPN6jBEuhYqNAdOVNlCRU0v/U/w21YI29viJwhB3f53oxlKdCEYojhU2NmbCkTZcg X-Received: by 2002:a05:6a00:23c6:b0:6e8:f66f:6b33 with SMTP id d2e1a72fcca58-702477be333mr5882702b3a.4.1717274732620; Sat, 01 Jun 2024 13:45:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717274732; cv=pass; d=google.com; s=arc-20160816; b=a79oWvdEutNvcHW/7tl/CTM4c3gCzRzVoXuZ3/U4aMSfU6cO2FtMcQZqodLO6vDPuH l3lq5l9hN5VwWO/sAYL/5/gpHaq7OqClQUXgnXNM+wTshCM2cuCFNwjYD9p4Xq9eHpx3 1DdOgFB3Eo8jyw64yoZP0Vtts/LvGIT5ntEEOVHlSa0nH5PuLbrSWu03P4eAoraog+Eo gFCA+WQCwcQneRk0bU5umGZUzfvUQUXwI4VxYlPK5M1+pOzsdPD3IqdTMYnPUaSSf/jY aj7bsNhV4bkmnjcjEd2HDxfZVFm/3pIGHkQnfRx9PTIWyqt+0q/Oj97GDobATYSGrxrN Bzpg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=axClxjuagha7mwa3p8uCRqbwOwtWJgErUOESFH6cBl8=; fh=W5yJIIrkus8mvPRTSLMjBcmwen3JlTiBN0aI2P3/DEE=; b=bqxtvj2F11OasmDSr/O75BERumm2gpbewmMFflUbHi2xmf6tuxYs+axX5an/sdDd+6 bscBKykTeH6HQX290EYnhEkoOaT/SLPezojDOOf347FPP5YnIiUjebXSf7Nncqc5sk0h W6h+ON9cQI2+6bAEoRu7CNR+2PKykZi7m2fjSPdsKRbOet9r6wR0nrA4b4PQGOGCdsAs wYiZEJzK8D5Pv2TAADVRe4e9FNgboqMtWDZ5DWKEHbHsFzE/plU19LFA7ZwjNCJ8sNZN 3xc5m34U1N6HVXDeI7w81Crf2ZRZcYliZ1OeiXs3SBRIIq1CwBi+qq7OqbpKeHxOaGw9 7N0g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ut8re/dk"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-198001-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198001-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35c17cff9si3807913a12.619.2024.06.01.13.45.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jun 2024 13:45:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198001-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ut8re/dk"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-198001-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198001-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id ABC39B21712 for ; Sat, 1 Jun 2024 20:45:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 65B4E15530D; Sat, 1 Jun 2024 20:44:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ut8re/dk" 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 6438C1DFF8; Sat, 1 Jun 2024 20:44:46 +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=1717274686; cv=none; b=Tw76KjElgkn0yKJyH/TVVyqRLPpnMSb53L7Gq98CXYyg+hEZsGmBOzKarTtJfop2nw+weNTFNRr8lViSQWEVuVJDy8SFZYkuIEJK+/nPIVQPblMv2VDNFgLG+iRsaGPAqrHUFqBOUNJYKuUySBU7JRb1FfEXULwXblVYRwQHFkQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717274686; c=relaxed/simple; bh=HaKiHpwKze6xx8hrZ0HkUm95XgsXEh+3lnAI2MmKvj0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XEkM1pOy7FS+hczlcxp1RirdcAvPJONtnks/E4gW9nKFgaMjkB23hOK2R2HG9a8c/TuV7pqXXmf1nQ0arauM/ZeC4EDm4dxrc2lkZcaqN11LKsJuXf72zDgBO1cgEPlyfodGWq8HLvassd1uHOnJRmV0aiR9qVrM4YwylqJx8t8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ut8re/dk; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id E8EF8C32781; Sat, 1 Jun 2024 20:44:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717274686; bh=HaKiHpwKze6xx8hrZ0HkUm95XgsXEh+3lnAI2MmKvj0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=ut8re/dk1+Xn8mOUW6RpWT1FW5Zn3N5K1JVDgnstP8kSywpRDY/u2O6H8HgFOEIyo hkq97K72aw6zZj1WG211Rnk7lpP5VHIjYtpH4/D7ntR1G4s5m65pfRZeij74r1xW0W kaZ4V9I6kIDyLVjSsqIXRkdMK8TnlL6NoK0/eLg7l9ommJ3WZzY01oYoqR4gp8Gi3t U4dvjnrqEjzoSNzXo1FDLwdXcanOCS+6BMyE7hAUY3fpg6mE8MNezquRRp0Ntw1h6T DHqUBR2LrTanf2VOouvpimtOaulYwv5S2ubkOj0HnbDpfu7YTSSvH7Rpiw7cv0fyAR IqxYat31kcRfA== 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 DB561C27C52; Sat, 1 Jun 2024 20:44:45 +0000 (UTC) From: Joel Selvaraj via B4 Relay Date: Sat, 01 Jun 2024 15:44:44 -0500 Subject: [PATCH v5 2/3] dt-bindings: input: document Novatek NVT touchscreen controller 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 Message-Id: <20240601-nvt-ts-devicetree-regulator-support-v5-2-aa9bf986347d@gmail.com> References: <20240601-nvt-ts-devicetree-regulator-support-v5-0-aa9bf986347d@gmail.com> In-Reply-To: <20240601-nvt-ts-devicetree-regulator-support-v5-0-aa9bf986347d@gmail.com> To: Hans de Goede , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , =?utf-8?q?Ilpo_J=C3=A4rvinen?= Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, Joel Selvaraj , Krzysztof Kozlowski X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1717274685; l=2767; i=joelselvaraj.oss@gmail.com; s=20240420; h=from:subject:message-id; bh=l1XN86Z3ZftRDCgivV8HiV5DOjOZR8yQT8aQnuoq5qg=; b=rR78IIkvzX4UaPvHXPvxo6HlFeoTvClH2tPdxRO2pajCRQdmn85j6zjOElsYZjzvEPNIzHFSP PCO24OCcoSBBTPDQAtkxCAzBByz0oFvq0/01bVt4Vz8I1c55S3OGQHK 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 From: Joel Selvaraj Document the Novatek NVT touchscreen controller present in devices like qcom/sdm845-xiaomi-beryllium-tianma.dts. Also, include the devictree binding file in the MAINTAINERS file. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Joel Selvaraj --- .../bindings/input/touchscreen/novatek,nvt-ts.yaml | 62 ++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 63 insertions(+) diff --git a/Documentation/devicetree/bindings/input/touchscreen/novatek,nvt-ts.yaml b/Documentation/devicetree/bindings/input/touchscreen/novatek,nvt-ts.yaml new file mode 100644 index 0000000000000..bd6a60486d1f1 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/novatek,nvt-ts.yaml @@ -0,0 +1,62 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/novatek,nvt-ts.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Novatek NVT Touchscreen Controller + +maintainers: + - Hans de Goede + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + enum: + - novatek,nt11205-ts + - novatek,nt36672a-ts + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + vcc-supply: true + iovcc-supply: true + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + touchscreen@1 { + compatible = "novatek,nt36672a-ts"; + reg = <0x01>; + interrupts-extended = <&tlmm 31 IRQ_TYPE_EDGE_RISING>; + reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>; + vcc-supply = <&vreg_l22a_2p85>; + iovcc-supply = <&vreg_l14a_1p8>; + pinctrl-0 = <&ts_int_default &ts_reset_default>; + pinctrl-1 = <&ts_int_sleep &ts_reset_sleep>; + pinctrl-names = "default", "sleep"; + touchscreen-size-x = <1080>; + touchscreen-size-y = <2246>; + }; + }; + +... diff --git a/MAINTAINERS b/MAINTAINERS index 90754a451bcfc..e1f744992b15f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -15942,6 +15942,7 @@ NOVATEK NVT-TS I2C TOUCHSCREEN DRIVER M: Hans de Goede L: linux-input@vger.kernel.org S: Maintained +F: Documentation/devicetree/bindings/input/touchscreen/novatek,nvt-ts.yaml F: drivers/input/touchscreen/novatek-nvt-ts.c NSDEPS -- 2.45.1