From patchwork Sun Dec 8 15:23:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Selvaraj X-Patchwork-Id: 13898601 Received: from mail-io1-f53.google.com (mail-io1-f53.google.com [209.85.166.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8083F17BA5; Sun, 8 Dec 2024 15:23:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733671424; cv=none; b=Z+QSQjyptIQRy5BCic1vWS9ekz3CXkSV5Pxn1pa2RahyLiY7BOs+31HU088BipvtzQl20NTQzRFcJqf2VSGkTwkR02TZPOCrInVwa1sZZTV3p1UklT4Bg7IlAidHKrdUiNzYDpoJnv4lOFp+tDNI8JjufnYwSiQMHl/ZqncJHKo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733671424; c=relaxed/simple; bh=ATxMHiAAigkqnW9ELJJ98ffzaepWpnW7NoaIpnsIOps=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=W79PTzktp+IcKhswHkSUGkNUoRDhnfW2YUpgkIwCmXhCDCzcp4mvzo+tU3TQd+hKtAzZtPwCwA+tXzhdzFFAGtMZ82rmq4NSButWjJmW1oENVTI4hmcncl8WEbLvZQlj1mc8BPpNiACfIGeBxS8jXIm8Z+Mlmg6zjwFlLcSxoV4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=TPunAfzV; arc=none smtp.client-ip=209.85.166.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TPunAfzV" Received: by mail-io1-f53.google.com with SMTP id ca18e2360f4ac-8419d05aa66so252259539f.0; Sun, 08 Dec 2024 07:23:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733671421; x=1734276221; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=MoK1VarcjX6N4sOA/y2XuyRKOGAm8RijqbZp/9raoaM=; b=TPunAfzV+LJsFg0oj1K6qaP7n+hvI8PAA3BXE0kwB/hH66PrKZ7WRjITEao8Ea1iaD CkGOvCtnazRA0a/Ndo14Nx3abZcZyrt7vqm+9BxJePXLOsnhhwI5YBLnqm7qHGJIWs6c nBD2XkqZscOe5+gqNKcrIK6+7pnOdAwr0UMOddIYWyuCEgUmR5ytXj9p8Vy0x1szpSQV yQIwwFKv1eTtKdQPI5EFkhye9Qs02QPPlwmHAXARpJqV5a2NkuzrlTIWWKfY7VB2FAPb iW1B6xX+fVB0KZU52eQOn9VvERgDsJ5wUyBAVQ7Bg2PwAJ92cv4ocEGapxIgZyQUnlSC fQdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733671421; x=1734276221; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MoK1VarcjX6N4sOA/y2XuyRKOGAm8RijqbZp/9raoaM=; b=aCEmPlYzPh9HHUG9yIxXnLP3RqmuX79gd659UNDlhAfGSxT+iIN0PO+DteCC891r/t v3ycvcPkpBwDarx+dYI+Zk1i7rTnJmusKkw7gQRV2TccxzqtrQgVVfdksS0wKqmnUi4Z cQwSNtmBPQfaVmddS8h218ImJ6WUTHHpb2RhK6X6m2NvUTON6FuTqA7MFAyxLFFI6QMX iawpgJen4rsKE+xtM4LR8MxJ8t28+e3Gr6TTsiqcttPIRwQgs0CSiiFxTZYI+lF2mIRm dRd+h/IhKML3rzZIzvw0z5nhe3gEfeAe1H9vqtxPmhSvOKCzR7mzIXOrwye46Xo11oGe Gguw== X-Forwarded-Encrypted: i=1; AJvYcCUnBL7Qnr8DEwqnt55vvZj0pY6PYZSYlw+HY6/b9DI6AOQQG2bwNQMKnqt6N92onPnnZFEs4r1FC3Okz34B@vger.kernel.org, AJvYcCWmJqJc/lnHbshZlO6Bf/GnbHBzEOOs8itZpUidcA9GtvcBBvyJrJYLW2a57XuaKBjHtmv5C91UNRT6GtY=@vger.kernel.org, AJvYcCXmO8FlcbD0XllwI6GqsnArtMsEOo40o3x5KFXYgWDUzvRwGoUrMUX5KM7szgugeFRzvhIE0YA1kyCV@vger.kernel.org X-Gm-Message-State: AOJu0YzfWnReZRQmb6QRWOc28La38US1rUnckDFbQe9Js6K0olU0fEtU mJGls+IwdZZ/54CXu4E2NOtRj0OMkT1qIDEHs6b+iSVCVeCJSgW0 X-Gm-Gg: ASbGnctQ+FAHdjaMM4Y0yMpKQAi6mnM2pekhKE9RnBpKZclcR8TrfLMc7KpgGdtKSgA mkrmy+2ou8PFwJJ2qGw1q3OFpj/PAYy8PMqz6OFnLcBcakCbaMTSx1cEyAwRJj2m6+G0wHanEVx MPY7SsY3UDHaGjOJQmY/9xFt0+mg33t3MSji5ggLTl98Iw7dJPeKO1fnPoSAZg5ZjIP8ve2OuD6 cTX2gc5GWtzSqV3qPdx5+YGrZECbwIYLEB1blf5 X-Google-Smtp-Source: AGHT+IHCtVgsyZKNyYGaz9eJkSEHH/Ewc7d7rJ+SPJKR1buiJNuTlkPLu8xh4X5MENIDiAV0erJL7g== X-Received: by 2002:a92:c24b:0:b0:3a7:88f2:cfa9 with SMTP id e9e14a558f8ab-3a811db7a78mr85637355ab.11.1733671421611; Sun, 08 Dec 2024 07:23:41 -0800 (PST) Received: from [192.168.1.109] ([2a02:6ea0:c603:3558::35]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3a814fa40d6sm16846805ab.57.2024.12.08.07.23.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Dec 2024 07:23:41 -0800 (PST) From: Joel Selvaraj X-Google-Original-From: Joel Selvaraj Date: Sun, 08 Dec 2024 09:23:27 -0600 Subject: [PATCH v2 1/4] dt-bindings: input: touchscreen: edt-ft5x06: add panel property Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241208-pocof1-touchscreen-support-v2-1-5a6e7739ef45@joelselvaraj.com> References: <20241208-pocof1-touchscreen-support-v2-0-5a6e7739ef45@joelselvaraj.com> In-Reply-To: <20241208-pocof1-touchscreen-support-v2-0-5a6e7739ef45@joelselvaraj.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, Joel Selvaraj X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1733671419; l=1031; i=foss@joelselvaraj.com; s=20241007; h=from:subject:message-id; bh=ATxMHiAAigkqnW9ELJJ98ffzaepWpnW7NoaIpnsIOps=; b=RBjO4XFZHjoa8OYSPlUdi/END++G/Hlfs+/r7+S5SXZL8OIZ9ZULoW9KgdyAxpxKT38CMv5gA 3tErvQMyL06A1rP9EXXzRvZDtGT4GC7gyDHqr+0GKmUEfZidyKVXkWB X-Developer-Key: i=foss@joelselvaraj.com; a=ed25519; pk=pqYvzJftxCPloaoUbVsfQE7Gwv8bynZPy8mjYohwMCc= In Xiaomi Poco F1 (qcom/sdm845-xiaomi-beryllium-ebbg.dts), the FocalTech FT8719 touchscreen is integrally connected to the display panel (EBBG FT8719) and thus should be power sequenced together with display panel for proper functioning. Add the panel property which optionally allows to link panel to the touchscreen. Signed-off-by: Joel Selvaraj --- Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml index 70a922e213f2a..35a6ac4ded7c7 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml @@ -103,6 +103,7 @@ properties: minimum: 0 maximum: 255 + panel: true touchscreen-size-x: true touchscreen-size-y: true touchscreen-fuzz-x: true From patchwork Sun Dec 8 15:23:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Selvaraj X-Patchwork-Id: 13898603 Received: from mail-il1-f169.google.com (mail-il1-f169.google.com [209.85.166.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6F3A6149C4D; Sun, 8 Dec 2024 15:23:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733671424; cv=none; b=U2ql49wKnxcazgdqH2AyhTzYCe0CO7+bYoiPv34BDKO6VWVE6IoeXE3Ly0ayJGD/ZtEBnDcMlRtSkXfUuvfvsHKptoJFT+C1kFfBfzyS3rilsycwXu8b98lF7jghGkrC/UZv3HvYOyc+l1pUmuz5G32lxGoSPzaYyWH5OPVxycA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733671424; c=relaxed/simple; bh=WrGOTKvOClLWlXSpaUWrUDujA7z142laht6bjQUKN8A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=DiU3HPpUEKaR5NuhL6QgoIRh9fe9nGDTs5ESbJCBctLJOXlenUiXkXURirNrO+BVvVZg8asfVkeD51w0uipizCq+reU8VOcg0v+M4ObAp6d8B15T8ry4hT8e374J0uAos4ML0omx3LmfQMX7CgODLjCRhGBcyBUkjYT85AuSwfw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=fFbfJ6Yk; arc=none smtp.client-ip=209.85.166.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fFbfJ6Yk" Received: by mail-il1-f169.google.com with SMTP id e9e14a558f8ab-3a9c9f2a569so7287475ab.0; Sun, 08 Dec 2024 07:23:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733671422; x=1734276222; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=3C0Sl+6d2juKUb8gMYlerVVIRw5R00zzonVhN+UPlwQ=; b=fFbfJ6Yk/fZumO3zaUK/ATn/UPzzxT4ZthZe5qYuW7FWqCWjBk68/cL2GLhdITqPhm fLKp7BFj8sDwrBz0Ox1KU8bKaj/n2xt7UAV+hg1Z/rXJCW1vFh3yIzvaQ/bQODJYr4s5 zi4T3cUhFJQ0elCmyyYSHUdB4iW1bYH9Cen6GIC/CEF7aUG5lnN23HwNoC977eLsK5Uh sKiWR+xO+D3JmB8EiJUNQfA2LCDQtekVSEuNWrHthM62578h/zb7BgdJak5SOiZIS9aA TPNHQ1PY4Cl8G4q2yIwZlkun8hmA2tZBwW6eweEVWtDgJGIvNH8m87f8fF0Pdy7ipI91 0JyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733671422; x=1734276222; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3C0Sl+6d2juKUb8gMYlerVVIRw5R00zzonVhN+UPlwQ=; b=ELoUv1Gz49TkmwSIMt8xus9wOHuYKQ67u92Z5kixW1YI0VegsJQCn8vIGRtp9vMwlw Nocbe2sXjOJAeWeMPZtLJfB5bUnjtMPQlB3wmtdP/4xl4YfLx0Yk9Be2hH0Gv4o20oVP iOIhipTM2JL8BRdnP6h2aHYpG054nk9SYQK6C4iTSsjuabk+3WIFjqBvpwjoWllg405D jQtX+/OEpHn1ewUZAe1Mkd7dc7rKfC4POui/HYuYLQY8htgEkYQsnvOy94bnGZ/f8e6b mWwoNYJy4WGXnI/HQ+SRCueRfpGLVFPOfu2et7m0ccFp2uFGDBEbKrbcfbmt79vzOWF+ gcnQ== X-Forwarded-Encrypted: i=1; AJvYcCV6QG8JyzIZEnnJzxHmAiZHjPcjImii+K315E6+wr0YU8ncmLCGzPpg0KqfYbprqfsUivfpgBGADFGKtQpk@vger.kernel.org, AJvYcCXFRuMz6jERzr5dEx1moEwFsyt8WbDyOShSSCr2wMLzjuZ8Dfe3zryPOLsnlFJb+ieHugBK3CNzIDVq@vger.kernel.org, AJvYcCXQVK5pBhlx8HZcOCfnUivO8f0fTKZuCrF7iw9QPJcknG2LDPIAovMszqUIk5zSh39KmjTINmM6+oQF1gs=@vger.kernel.org X-Gm-Message-State: AOJu0YwEdcUpg4o2vcISpcnaMAoko+UCq8Pkh+q6ZwErY1LNTBRx6Qgh q2UBf8jEmROcwDZZo0jFHNh4XiLkB8tuZxlAtWspKQ3fTGG2PqQF X-Gm-Gg: ASbGncsfFIGYqru/1L4ta0JM33dauo5mRDkmytitd8qQuH3aYp8ODAoXF+fb2ZWb2HK 07i/fYr/nD3vKcLbDpC9ic2GmdjX/TDswqnZHyDKeL4d5gJEDVDFJAEYCU0ZicAMZ+uBq2HgH5s WY3/DjpgRI44JbxjkZ7G+tV+OG89hcBsNUiDQaUIBFcXBu0aOvLGIbWLIZPY1IJ2R9REDwRGdSl CMwxrYROwUFzY97brExmyrq/zkmjixO68AtA943 X-Google-Smtp-Source: AGHT+IF8ZOgCnvXKx258776dpeULeVlu0YwL8eE3pOQQ2e3nce+iX1uxzBhJsRxQNDuDtuG6q6Eomg== X-Received: by 2002:a05:6e02:13a7:b0:3a7:8720:9ea4 with SMTP id e9e14a558f8ab-3a811d77228mr111544305ab.5.1733671422546; Sun, 08 Dec 2024 07:23:42 -0800 (PST) Received: from [192.168.1.109] ([2a02:6ea0:c603:3558::35]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3a814fa40d6sm16846805ab.57.2024.12.08.07.23.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Dec 2024 07:23:42 -0800 (PST) From: Joel Selvaraj X-Google-Original-From: Joel Selvaraj Date: Sun, 08 Dec 2024 09:23:28 -0600 Subject: [PATCH v2 2/4] arm64: dts: qcom: sdm845-xiaomi-beryllium-common: add touchscreen related nodes Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241208-pocof1-touchscreen-support-v2-2-5a6e7739ef45@joelselvaraj.com> References: <20241208-pocof1-touchscreen-support-v2-0-5a6e7739ef45@joelselvaraj.com> In-Reply-To: <20241208-pocof1-touchscreen-support-v2-0-5a6e7739ef45@joelselvaraj.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, Joel Selvaraj , Joel Selvaraj X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1733671419; l=1971; i=foss@joelselvaraj.com; s=20241007; h=from:subject:message-id; bh=D5VCowikjyGNB/6EL3/0n9I+B15dJNg0M46FH1kSG4I=; b=f6sOvZfMd2dOM/zYYWDPNlHGhfdE5ntlNMLXctTFG/FkqDhYSZg1jxfGgodlwaE/CoOUREBb3 lsXQuDYLcNvBM9KSd5pIuF90xysZASMS3VMqyt8tn2pP+9YAHhml12Y X-Developer-Key: i=foss@joelselvaraj.com; a=ed25519; pk=pqYvzJftxCPloaoUbVsfQE7Gwv8bynZPy8mjYohwMCc= From: Joel Selvaraj Enable qupv3_id_1 and gpi_dma1 as they are required for configuring touchscreen. Also add pinctrl configurations needed for touchscreen. These are common for both the tianma and ebbg touchscreen variant. In the subsequent patches, we will enable support for the Novatek NT36672a touchscreen and FocalTech FT8719 touchscreen that are used in the Poco F1 Tianma and EBBG panel variant respectively. This is done in preparation for that. Signed-off-by: Joel Selvaraj --- .../dts/qcom/sdm845-xiaomi-beryllium-common.dtsi | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi index 617b17b2d7d9d..e93ed6effdd73 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi @@ -243,6 +243,10 @@ &gmu { status = "okay"; }; +&gpi_dma1 { + status = "okay"; +}; + &gpu { status = "okay"; @@ -408,6 +412,10 @@ &qupv3_id_0 { status = "okay"; }; +&qupv3_id_1 { + status = "okay"; +}; + &sdhc_2 { status = "okay"; @@ -513,6 +521,37 @@ sdc2_card_det_n: sd-card-det-n-state { function = "gpio"; bias-pull-up; }; + + ts_int_default: ts-int-default-state { + pins = "gpio31"; + function = "gpio"; + drive-strength = <16>; + bias-pull-down; + output-disable; + }; + + ts_reset_default: ts-reset-default-state { + pins = "gpio32"; + function = "gpio"; + drive-strength = <16>; + output-high; + }; + + ts_int_sleep: ts-int-sleep-state { + pins = "gpio31"; + function = "gpio"; + drive-strength = <2>; + bias-pull-down; + output-disable; + }; + + ts_reset_sleep: ts-reset-sleep-state { + pins = "gpio32"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + output-low; + }; }; &uart6 { From patchwork Sun Dec 8 15:23:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Selvaraj X-Patchwork-Id: 13898604 Received: from mail-io1-f46.google.com (mail-io1-f46.google.com [209.85.166.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8030515382E; Sun, 8 Dec 2024 15:23:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733671426; cv=none; b=ZF1ETSCZv5zEtGPA6JkAKpDNCp/GMANi39png7XcxHHGa80T+FllwS2yl8Q/Bh9IZbcfapmTmhhuE52TN4b2GAgiD+C9kRNFg3d5/FrjUVJeJrlIFTJcyHabTNac6pkZVhJXWiadq41tQC8OLkoUglfd9b6eaSmyt4swB/c9wI8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733671426; c=relaxed/simple; bh=STsYh4/3xcP3AUG05QsLSptN0p+oIKmqWJMKZ9jPPho=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LCrG+Y3v4HD8I0tOWpxOnR9jgoRYAY4uXUTbpp0DpM3pbUnbHgj+LnPxy9ua7TtEZVY2wxlC8Y4j17qaT39kW2ASNcPLJj/h49ytkCrxlO8X8g0PI8gjmxBgg9lmelxGOlBt9j9a0crY5fva7Qn7YbWH1NfSuwA+6SVSCIIE7fA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=dE1t/HxS; arc=none smtp.client-ip=209.85.166.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dE1t/HxS" Received: by mail-io1-f46.google.com with SMTP id ca18e2360f4ac-84198253284so138913139f.3; Sun, 08 Dec 2024 07:23:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733671423; x=1734276223; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=qobfFjICqMdm9WYbgLlk5ueBwx0BGj7d0hX2KdmQI+k=; b=dE1t/HxSio+rkmdkRNf4r3OXnz+TfCyKu9au64rraj4Oiznx/uDWHcJ7V1RtJ4bCDV KlixswxofzEhRMkmkbMas+cxCy+299dxFlbk6QwQGWcUlxJ26pWf08gQvwU+2xY144fq zO0Koy0YI/qrFxa+UCcGnaFJCRSz2GuBRZj3NQWngIcgV4A5sGehDdP/po1pf/OpIaDh Ung/ZfDjt2yTymUQyTVb2hVi1tzQjlhImC33P8NOzKQvrPo6DeIuw8+pKfoT0QOQ7BYG RF1HTRz7bCxszxx/WeBPlfeUyae+M+diPNytZ1JWaKXCddb1g15+waDMeZOhiTk+cJ7y 0pVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733671423; x=1734276223; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qobfFjICqMdm9WYbgLlk5ueBwx0BGj7d0hX2KdmQI+k=; b=bdmkbzfHpM6x+gQdQxNqWh+IcucW+jUTU992fXX9PLyoeEkLcgaXlH6ngbp81ne1eQ UPejuJku2OIPQgSkG/YhTzuXE0qaOcvlwpQLeg039T5gPx61wJNvB6p3t+AVRPHXGb2Q K5cFzJtP9Dz+u05jW7HHyT74OwScFihIaplbOJ1FwhVL0LgEgR10ypqbXEiWow1S1Plk JjWFsRvnJBiugoljtAGdQHWcQEsEemTPewTFCUAAdDwsClkGjkKoQwdbNKoYe+t/spIT ROcf+CFixFXVomUEjmt4zDoyywyVlwdMRvb61QdUgOBztnqXeeaV1BgenFGvNVqiFRSG sYgA== X-Forwarded-Encrypted: i=1; AJvYcCU5Oldd/ySvnj8OsbNc9Fhw/AaiOAa8N0/RHjxKsIG4226wEJ5/UnJlisINxWG/veVnBfxn3/J/Oxi1@vger.kernel.org, AJvYcCUFTOmEjiorOpd1TU1XN0rksjNzdcx5ze9YE5bjNeHOYDxum7jli9YHkhyRCkvpnXds5aybFdDwglv0SFnh@vger.kernel.org, AJvYcCWJZNpQhr+o6WEEu1584DOYPF1kwf80SoAIgf747cmR2U9ceAGfW0z24zENvtti/tqzfdzIYUvBy9lvDhc=@vger.kernel.org X-Gm-Message-State: AOJu0YxSi1LA5N/KTnOhbKiZ3/9KLYOKK9GcZRqQabvt5KhSSvuTW7zM Ab0Hke06jhpRgavtmh5mr5ztlr5kHL3R2eLQBDB7w1hTUOTWBXRFY8v+CVQZ X-Gm-Gg: ASbGnctT6CnrFw3Dfh2MJi4JbMe3GbS6la8KgA7dmjmiSJAGHbwR1+QXqhG2cVmxZ0R Cn4XW/QUwsbGpOekvDi0CmFJjZwEBQ4nmjk3xL0UikLiZ0wCGv7D1SHaJpzI2EpuboCLKMGz8IN 3GmfUyczSSO+oMrohjGqY7zDB6BeKjmK5Xvf2FbZ3ELejnTfxRK0cXLXB9iGwYdfGezHAeLJ2Rd A7i4pHy3OI4E82m/hlT2pUs5kzqcwVlBlhd4csD X-Google-Smtp-Source: AGHT+IFfeg5y4RSlYimIft2ImSdZS0QyDkz4SaQcnW05RaiWxsvGgIk47wctm9FIN2AvV1lGrAn0XQ== X-Received: by 2002:a92:c563:0:b0:3a7:6792:60f with SMTP id e9e14a558f8ab-3a811c799a7mr108714725ab.4.1733671423540; Sun, 08 Dec 2024 07:23:43 -0800 (PST) Received: from [192.168.1.109] ([2a02:6ea0:c603:3558::35]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3a814fa40d6sm16846805ab.57.2024.12.08.07.23.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Dec 2024 07:23:43 -0800 (PST) From: Joel Selvaraj X-Google-Original-From: Joel Selvaraj Date: Sun, 08 Dec 2024 09:23:29 -0600 Subject: [PATCH v2 3/4] arm64: dts: qcom: sdm845-xiaomi-beryllium-tianma: introduce touchscreen support Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241208-pocof1-touchscreen-support-v2-3-5a6e7739ef45@joelselvaraj.com> References: <20241208-pocof1-touchscreen-support-v2-0-5a6e7739ef45@joelselvaraj.com> In-Reply-To: <20241208-pocof1-touchscreen-support-v2-0-5a6e7739ef45@joelselvaraj.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, Joel Selvaraj , Joel Selvaraj , Konrad Dybcio X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1733671419; l=1325; i=foss@joelselvaraj.com; s=20241007; h=from:subject:message-id; bh=FqSqpqA2qjZLgqXQYa7KbwDiQx3U/fzD+epPaq4QQWc=; b=4+hex7m71IId7u7oYwZe4uIuXQNNTS2tvv4yKVwDHqR1JeHjsZSFR0+VXZhYefWKmwCDj0bYV zRGP7zM33IeDtONk7FWm23g8QPEMF2KO0xEpJisNADdN/NILLpjNQTt X-Developer-Key: i=foss@joelselvaraj.com; a=ed25519; pk=pqYvzJftxCPloaoUbVsfQE7Gwv8bynZPy8mjYohwMCc= From: Joel Selvaraj Enable the Novatek NT36672A touchscreen controller used in the Poco F1 (Tianma) panel variant. Reviewed-by: Konrad Dybcio Signed-off-by: Joel Selvaraj --- .../dts/qcom/sdm845-xiaomi-beryllium-tianma.dts | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts index e9427851ebaae..b58964cde8342 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts @@ -13,3 +13,26 @@ &display_panel { compatible = "tianma,fhd-video", "novatek,nt36672a"; status = "okay"; }; + +&i2c14 { + status = "okay"; + + touchscreen@1 { + compatible = "novatek,nt36672a-ts"; + reg = <0x01>; + + interrupts-extended = <&tlmm 31 IRQ_TYPE_EDGE_RISING>; + reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>; + panel = <&display_panel>; + + iovcc-supply = <&vreg_l14a_1p8>; + vcc-supply = <&lab>; + + 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>; + }; +}; From patchwork Sun Dec 8 15:23:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Selvaraj X-Patchwork-Id: 13898605 Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 551DC1552FA; Sun, 8 Dec 2024 15:23:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733671426; cv=none; b=LEhBqctzptaKDGPJ5wyKCAtmCmb8ctVEtgALimcV3LSUJE0wrYXQ7Y6unjVQ6ZBzVw9/A+0cSTs0HFwHxLo+0HYME2r9IcnkjIpDN2JPPiSmE+S9owbraspAf72KjmkHjlp1ugjukOzBCjDj6jZOr4bXbAFlZhWphySm7dfoG0k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733671426; c=relaxed/simple; bh=l7xRXUyEbDsdN6IdmsbR3YkjSUxnY4sXvYptP3ftvXw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=K8M93QROPdJdK3XXw57g0X0I9CLTXKbKB9dO0W6vAqXrkmmNkmmSX5rNek6x6Bf/OKudABblO1mflcSAFuyCz6HSk8KDQ+kEvBcWEKCHs6KhWhbamHpAKPwr+ZgRTa2BmekqJcZKNgl/LD6m4/ev1JDVMClNrMrIKsZTCLkXIew= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=BXZzSVKO; arc=none smtp.client-ip=209.85.166.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BXZzSVKO" Received: by mail-io1-f50.google.com with SMTP id ca18e2360f4ac-841d8dec20aso109271839f.3; Sun, 08 Dec 2024 07:23:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733671424; x=1734276224; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=MeViGyIUjK73sGY5mddjcRzCRf6wXH+e3Spekfc6Nfs=; b=BXZzSVKO/2SOoymnN0SKkNoCOdcm3AFXf1k/r8ryop9kWWbMNhRb1uRYdrnoo2Axpd 3MwvOefKWyINi50TPbhMiNPEmTd+CmxNgUInY7PRds6r9pa8kMVX7sZyjYljufO68fnU l2K7FXeNxDbd3S2xsWdMLEstbHw+hDNYNoENBGi1sE8GUGDZh7XtusIO7wikA6SfrSrf 8VByXIhd3WyQUDCK9aaQOLUzSA2q5RwZ3H0+5wAR289DtoDXyha6a2NClsWYPV77e3uU xrcL1cihPQ9TgcDvCeZV/vI2zaDPLcio4WCbXnIFoGuauP+9FrEShvjiZnRKu2Hpil4s 95BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733671424; x=1734276224; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MeViGyIUjK73sGY5mddjcRzCRf6wXH+e3Spekfc6Nfs=; b=aiMFRol3h5lZai5kuyG+WdbHRug3yiXWbpUNuEcoeagMbBDhcV6pxpHgirusiIWdmT Ee4bW73Rpc3Wkm8OdPu9RmzNSIMd4L3scMBVr28HbHTqPSmyGa8I1j+Xv3mPcEupINZS 91fExhdrtz1XaHnWPPi0938M92Vmy2FpuUGbkGaEf3BVO/P2uqIw9hSB7E7O37/mHKkt 4ZziV15j9Ktu64JhAzkio1iVFopfqNihsMncnsS7naeDMuMnVCruAg1yfeNuroNfF9QG S/pL7e2H6D3q2Eba3rhJgWX6hU4uPvaU/1iXLbd4OAjC4qQ9thYH/tuBU7rK6Fkr4F4I FdVw== X-Forwarded-Encrypted: i=1; AJvYcCUcC5g7ZjZP/a1WMydSr3pF/ZCS4TR47U0Qo6U1dLJayuVJmNRvxnX1JHo14sGRCund/u2jUkmJqVkcVvfm@vger.kernel.org, AJvYcCW54y6MiP4jGVqI21IRY+eYda3WxPryNBU64tsW8ZyPC9AWkuOMV+GfZcZP4ZrpzIYPf3XXA9K6Memz+ZE=@vger.kernel.org, AJvYcCWpRJDZFwQFLyYN0Q60IY2KJQD/eOZd8E+CRJnAvCISZsBx0e4p84nQ6hTfXdpT3uEVh1KtGfS3R0HZ@vger.kernel.org X-Gm-Message-State: AOJu0YxspJTe6S3eW2mMqgqQrZ42KZT8dhpVBu2wjn7II0KZ0P5gpdMt Se2ra+I4FtB42D/8SLhfs6BS+pYBRTc75VP4ew2ZyhptE/OVdl/d X-Gm-Gg: ASbGncs4ZnqeiYj68v6VT+3pTIg5RoEj4P8Y0ypEjTWixSu0lxKFhni0zpCYdw0q0d6 9+sTqK+3PQgCiCgx5TAOliar/Gdamfen3HcicEJ+0UarVh/KMpoSza5+ARScwDKQNN2+zWWrYrH 0p+/qErnuX4r41mTdOmNZUEajMJZowygGTuOsLtAqnMjMCaIOT7GItW2F3RqRP0vwV1taqmwfcI 5UH7Z0+WR8yj99JV1c27RK4roHZtUdDypatABOM X-Google-Smtp-Source: AGHT+IGdj7s0fZzu0zpwyTVptfjyqi79gKbWrdVfA4prZH9hVU3A0jrN0xfjCiteQ73LifT7k/lQbA== X-Received: by 2002:a05:6e02:1e0c:b0:3a7:a69c:9692 with SMTP id e9e14a558f8ab-3a811e2a4eemr82547555ab.21.1733671424511; Sun, 08 Dec 2024 07:23:44 -0800 (PST) Received: from [192.168.1.109] ([2a02:6ea0:c603:3558::35]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3a814fa40d6sm16846805ab.57.2024.12.08.07.23.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Dec 2024 07:23:44 -0800 (PST) From: Joel Selvaraj X-Google-Original-From: Joel Selvaraj Date: Sun, 08 Dec 2024 09:23:30 -0600 Subject: [PATCH v2 4/4] arm64: dts: qcom: sdm845-xiaomi-beryllium-ebbg: introduce touchscreen support Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241208-pocof1-touchscreen-support-v2-4-5a6e7739ef45@joelselvaraj.com> References: <20241208-pocof1-touchscreen-support-v2-0-5a6e7739ef45@joelselvaraj.com> In-Reply-To: <20241208-pocof1-touchscreen-support-v2-0-5a6e7739ef45@joelselvaraj.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, Joel Selvaraj , Joel Selvaraj , Konrad Dybcio X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1733671419; l=1288; i=foss@joelselvaraj.com; s=20241007; h=from:subject:message-id; bh=6J8U1Z0ISgWZeNHHwG5GD8wzmGFCDFOJTCpfO/uYYlc=; b=21suvVmg5Fivexqi0n1maBWSR3R0hLmLEwv3phoyYyBuE8bNkypXBMw1mz728Oazi1dTh+KkB MGmc8gB0RCtDc96ZzrjJF3a4cVlIfn6eI+lm8AVg5eZDJLZsf6WlS8L X-Developer-Key: i=foss@joelselvaraj.com; a=ed25519; pk=pqYvzJftxCPloaoUbVsfQE7Gwv8bynZPy8mjYohwMCc= From: Joel Selvaraj Enable the Focaltech FT8719 touchscreen controller used in the Poco F1 (EBBG) panel variant. Reviewed-by: Konrad Dybcio Signed-off-by: Joel Selvaraj --- .../boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts index 76931ebad065e..2d6f0e382a6cb 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts @@ -13,3 +13,26 @@ &display_panel { compatible = "ebbg,ft8719"; status = "okay"; }; + +&i2c14 { + status = "okay"; + + touchscreen@38 { + compatible = "focaltech,ft8719"; + reg = <0x38>; + + interrupts-extended = <&tlmm 31 IRQ_TYPE_EDGE_RISING>; + reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>; + panel = <&display_panel>; + + iovcc-supply = <&vreg_l14a_1p8>; + vcc-supply = <&lab>; + + 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>; + }; +};