From: Jasper Korten via B4 Relay <devnull+jja2000.gmail.com@kernel.org>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Thierry Reding <thierry.reding@gmail.com>,
Jonathan Hunter <jonathanh@nvidia.com>
Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org,
linux-kernel@vger.kernel.org,
Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>,
Jasper Korten <jja2000@gmail.com>
Subject: [PATCH 1/2] arm64: dts: nvidia: tegra210-smaug: Add touchscreen node
Date: Mon, 16 Sep 2024 00:48:13 +0200 [thread overview]
Message-ID: <20240916-touch-temp-v1-1-5a008b2acbc8@gmail.com> (raw)
In-Reply-To: <20240916-touch-temp-v1-0-5a008b2acbc8@gmail.com>
From: Jasper Korten <jja2000@gmail.com>
The Google Pixel C contains a RMI4 HID over I2C touchscreen.
Add a DT node for the touchscreen.
Information gathered from downstream tree.
Link: https://android.googlesource.com/kernel/tegra/+/refs/heads/android-tegra-dragon-3.18-oreo-m8/arch/arm64/boot/dts/tegra/tegra210-smaug.dtsi#542
Signed-off-by: Jasper Korten <jja2000@gmail.com>
---
arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
index 2e5b6b2c1f56..6f77540fd397 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
@@ -1362,6 +1362,19 @@ bluetooth {
};
};
+ i2c@7000c000 {
+ status = "okay";
+ clock-frequency = <1000000>;
+
+ touchscreen: i2c-hid-dev@20 {
+ compatible = "hid-over-i2c";
+ reg = <0x20>;
+ hid-descr-addr = <0x0020>;
+ interrupt-parent = <&gpio>;
+ interrupts = <TEGRA_GPIO(X, 1) IRQ_TYPE_EDGE_FALLING>;
+ };
+ };
+
i2c@7000c400 {
status = "okay";
clock-frequency = <1000000>;
--
2.46.0
next prev parent reply other threads:[~2024-09-15 22:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-15 22:48 [PATCH 0/2] Add touchscreen and TMP451 tempsensor nodes to Google Pixel C (tegra210-smaug) Device Tree Jasper Korten via B4 Relay
2024-09-15 22:48 ` Jasper Korten via B4 Relay [this message]
2024-09-15 22:48 ` [PATCH 2/2] arm64: dts: nvidia: tegra210-smaug: Add TMP451 temperature sensor node Jasper Korten via B4 Relay
2024-09-19 8:48 ` [PATCH 0/2] Add touchscreen and TMP451 tempsensor nodes to Google Pixel C (tegra210-smaug) Device Tree Diogo Ivo
2024-10-24 17:24 ` Thierry Reding
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240916-touch-temp-v1-1-5a008b2acbc8@gmail.com \
--to=devnull+jja2000.gmail.com@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=diogo.ivo@tecnico.ulisboa.pt \
--cc=jja2000@gmail.com \
--cc=jonathanh@nvidia.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=robh@kernel.org \
--cc=thierry.reding@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).