summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2018-11-28 18:26:34 +0100
committerThierry Reding <treding@nvidia.com>2018-12-03 16:31:35 +0100
commit8b457812f54b2baa70c15b8e7c8902c4c07b6589 (patch)
tree25a6a9ed87bf96c20cba579f0413590841c45cd0 /arch/arm64/boot
parente47ac50885f530717946a41dd3aa0d9c26c6f154 (diff)
downloadlinux-8b457812f54b2baa70c15b8e7c8902c4c07b6589.tar.bz2
arm64: tegra: Add temperature sensor on P2888
The P2888 processor module contains a TI TMP451 temperature sensor with two channels. These are used to measure the temperatures at different locations on the module. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm64/boot')
-rw-r--r--arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi b/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi
index de70b5ff7fe6..22a1c267aed9 100644
--- a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi
@@ -248,6 +248,17 @@
};
};
};
+
+ temperature-sensor@4c {
+ compatible = "ti,tmp451";
+ reg = <0x4c>;
+
+ interrupt-parent = <&gpio>;
+ interrupts = <TEGRA194_MAIN_GPIO(H, 2)
+ IRQ_TYPE_LEVEL_LOW>;
+
+ #thermal-sensor-cells = <1>;
+ };
};
};