From nobody Fri Nov 29 19:46:14 2024 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 68AF75B216; Sun, 15 Sep 2024 22:48:08 +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=1726440488; cv=none; b=TX5d+tL2xwjIr78vEVArfyxpYNe6epYpJiMrPQs7tBmZwsqQRASPA8Kbdgw4DbDIHIf+c0tjhoL6v5kTA/x61SrAdpgBQdHxX+gUyadxjbTOncMoat2f83yuqxPNdn7gyl2rWQvxxj5GFi2YsYAIe6ikHfA7STPzwksOcOJOcQg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726440488; c=relaxed/simple; bh=A5gmCGk6wjjVat1CCMtzmUFixbs9K8glOQ8cDA8fW44=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=oktH8ZfTmrZdJFmfDiQWypnDmdK7DmzlhjVxWq67RB55R1S76wKRR4uTocM9Xh/0x5zHLFgo0mcv1UGrsJr8QdY9YS2FiFcWPFNj4tfb1b0EmUv4XZMbTA5Bj5K1qx5otWsVZfDb4pIM3a6ewru18/goY9CD6m+cNOLvV3GTCqA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Zwjb6X0x; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Zwjb6X0x" Received: by smtp.kernel.org (Postfix) with ESMTPS id D7A59C4CECD; Sun, 15 Sep 2024 22:48:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726440487; bh=A5gmCGk6wjjVat1CCMtzmUFixbs9K8glOQ8cDA8fW44=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Zwjb6X0xjbE9bWTwLBJ6S0kpku0JrbZtLtuIHrUw71vEB/j65wAjxrYoUzjgqr7ya y+mYeSzCGRO0aRl4AEEZnxK6vU8FHmooR75J9MmZcdjvseF4U24zDRLM2uCQmea8+M hPZRqPOqqhD8nDc4XdOMh2GCkUoFC3vXat1cYivho0J/RZ+CzBJay8ZNs0zY7hN2AR XLGs4ON1LBZMrTU/gIKzvD+SbAdsqLCg/pQ1ISSto+4jzrDvDzkq2pZxdMAEctfMUH 7plyZmK2hSu+WmgzQt0rX6wvQdEz+VbyQxNEZpiLQvA6ZPU535q1yC1QA1IYl8GYKp 4fJ6PsFtVIuZQ== 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 C4EF8C3ABAF; Sun, 15 Sep 2024 22:48:07 +0000 (UTC) From: Jasper Korten via B4 Relay Date: Mon, 16 Sep 2024 00:48:13 +0200 Subject: [PATCH 1/2] arm64: dts: nvidia: tegra210-smaug: Add touchscreen node 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: quoted-printable Message-Id: <20240916-touch-temp-v1-1-5a008b2acbc8@gmail.com> References: <20240916-touch-temp-v1-0-5a008b2acbc8@gmail.com> In-Reply-To: <20240916-touch-temp-v1-0-5a008b2acbc8@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, Diogo Ivo , Jasper Korten X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1726440502; l=1157; i=jja2000@gmail.com; s=20240916; h=from:subject:message-id; bh=6mK996nKHGO6KB4fA8zD2TKs8erLyGTuSaVELErvZ74=; b=K7zIyR+AKL4IAWMMntVNlIcMsY14XFP0GGL6wY0Iw4hKElB5bXLmsx2VXUv0ETKdmZHAm4K5U TIW81mUuxX4Cv3lRNtSKBcw0n7TMIPK+KPZFuTr/NjSeQsIBBh0CCOc X-Developer-Key: i=jja2000@gmail.com; a=ed25519; pk=NV6r6q/S3nZILZkoOEuEM7F+uxANotfAYeXyNZTniJc= X-Endpoint-Received: by B4 Relay for jja2000@gmail.com/20240916 with auth_id=210 X-Original-From: Jasper Korten Reply-To: jja2000@gmail.com From: Jasper Korten 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-te= gra-dragon-3.18-oreo-m8/arch/arm64/boot/dts/tegra/tegra210-smaug.dtsi#542 Signed-off-by: Jasper Korten Tested-by: Diogo Ivo --- 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/boo= t/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 { }; }; =20 + i2c@7000c000 { + status =3D "okay"; + clock-frequency =3D <1000000>; + + touchscreen: i2c-hid-dev@20 { + compatible =3D "hid-over-i2c"; + reg =3D <0x20>; + hid-descr-addr =3D <0x0020>; + interrupt-parent =3D <&gpio>; + interrupts =3D ; + }; + }; + i2c@7000c400 { status =3D "okay"; clock-frequency =3D <1000000>; --=20 2.46.0 From nobody Fri Nov 29 19:46:14 2024 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 7A5F46F2F8; Sun, 15 Sep 2024 22:48:08 +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=1726440488; cv=none; b=qHZ/dmUPEP76SfxfU1OcUjNUY9o/EYayqpxC9T920R7QcAVDPnNongV3KgpsG9Ms71YsV4VQDdt8zd3jr8i+e3FBOr+C4gUgqbsjKC8VNtqaWoxuY6Kq6OngaZdXSP1AwU+1gFUdXUdgVD8/ps39+IzIF806yQHO6bq4tx/iPew= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726440488; c=relaxed/simple; bh=Tw4YFLv5KGzPhjNFzyPeFKKPiik8CYlQKqceKFtvFhw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kC8gSgwdCQy9BwagG1EjQscXVjc4/qoEKdWvmQOAFpyQX9sOFg1U6Z2ltbCxFEvAF6MSBDdADVmuvtgJpq5IeAldwuXI0rfasOCvHWsrMbsEEZiekA14tAXjDTtJJn1w59/NtoNMN8X1fg7mrR8/5MwYIMoBedn95qZXteo+ZQk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gmR2oEGJ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gmR2oEGJ" Received: by smtp.kernel.org (Postfix) with ESMTPS id E4B96C4CECC; Sun, 15 Sep 2024 22:48:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726440488; bh=Tw4YFLv5KGzPhjNFzyPeFKKPiik8CYlQKqceKFtvFhw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=gmR2oEGJESHVZof1rcfEXrRnsXEAZZ9D1Wf1AJW2Gp80whqBPEa5xRLJpWYq6RL4G dCxlCGYPjwC4VdKpgpsgQYqAnWQYnjQ+WausaaiH0MwYWEoUNkfaTpRyiz/hslwAi2 7+Zlbx6YxSYMCqTiOP2fEsKRR0bLW/p5CRTyoY0XUZN3gGK/shZQnIaxZzpMrrrdJ7 qYGnhm/KywS0BkGhKgb/Ca1y57XbgKgwRsR5waRafPo6DrgENMcdyGSUYR41ewgOO3 yREW6DFSUMb+goGHgg6+nUdgAl1cwuPDK23gZe5KBy/jPrDtFxb2IqvF/nvrNLYWOR ZPxd9+tuKA9Tg== 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 D5BBBC3ABB2; Sun, 15 Sep 2024 22:48:07 +0000 (UTC) From: Jasper Korten via B4 Relay Date: Mon, 16 Sep 2024 00:48:14 +0200 Subject: [PATCH 2/2] arm64: dts: nvidia: tegra210-smaug: Add TMP451 temperature sensor node 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: quoted-printable Message-Id: <20240916-touch-temp-v1-2-5a008b2acbc8@gmail.com> References: <20240916-touch-temp-v1-0-5a008b2acbc8@gmail.com> In-Reply-To: <20240916-touch-temp-v1-0-5a008b2acbc8@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, Diogo Ivo , Jasper Korten X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1726440502; l=1092; i=jja2000@gmail.com; s=20240916; h=from:subject:message-id; bh=bYRs+oTSlXN9NAJLiXE80By1YDR7fhYWaFKCs20PGS8=; b=ZeKzeV/Lb0PWjkv6ZN8ArjPpFKgoBtyxJe2gDH5S/UqnreuqZ/4dGEwyfUjR7BPszHFZEK0XG 0NQgB3qh8Q0AjaQY2viy6oX4DqvMOn6YbNWh5NWLqmXE6ORhcRwvKhu X-Developer-Key: i=jja2000@gmail.com; a=ed25519; pk=NV6r6q/S3nZILZkoOEuEM7F+uxANotfAYeXyNZTniJc= X-Endpoint-Received: by B4 Relay for jja2000@gmail.com/20240916 with auth_id=210 X-Original-From: Jasper Korten Reply-To: jja2000@gmail.com From: Jasper Korten The Google Pixel C contains a TI TMP451 temperature sensor. Add a DT node for temperature sensor. Information gathered from downstream tree. Link: https://android.googlesource.com/kernel/tegra/+/refs/heads/android-te= gra-dragon-3.18-oreo-m8/arch/arm64/boot/dts/tegra/tegra210-smaug.dtsi#1000 Signed-off-by: Jasper Korten Tested-by: Diogo Ivo --- arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts b/arch/arm64/boo= t/dts/nvidia/tegra210-smaug.dts index 6f77540fd397..c724cb4d5ad8 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts +++ b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts @@ -1732,6 +1732,15 @@ audio-codec@2d { #gpio-cells =3D <2>; status =3D "okay"; }; + + tmp451: temperature-sensor@4c { + compatible =3D "ti,tmp451"; + reg =3D <0x4c>; + interrupt-parent =3D <&gpio>; + interrupts =3D ; + vcc-supply =3D <&pp1800>; + #thermal-sensor-cells =3D <1>; + }; }; =20 pmc@7000e400 { --=20 2.46.0