summaryrefslogtreecommitdiff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-08-03 00:19:35 +0300
committerThierry Reding <treding@nvidia.com>2021-08-13 14:11:17 +0300
commit155bfaf7ee1df9c4b1aa2737d394b34bc7a2d746 (patch)
treea005e8cec53de0148deac1ed20a988ecb290d25e /arch/arm/boot
parentda0ad8983cc486449b8d6668b5f91334fd35803b (diff)
downloadlinux-155bfaf7ee1df9c4b1aa2737d394b34bc7a2d746.tar.xz
ARM: tegra: paz00: Add interrupt to temperature sensor node
The TEMP_ALERT pin of LM90 temperature sensor is connected to Tegra SoC. Add interrupt property to the temperature sensor for completeness. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/tegra20-paz00.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra20-paz00.dts b/arch/arm/boot/dts/tegra20-paz00.dts
index 3180bff90756..acc816bfd233 100644
--- a/arch/arm/boot/dts/tegra20-paz00.dts
+++ b/arch/arm/boot/dts/tegra20-paz00.dts
@@ -503,6 +503,10 @@
adt7461: temperature-sensor@4c {
compatible = "adi,adt7461";
reg = <0x4c>;
+
+ interrupt-parent = <&gpio>;
+ interrupts = <TEGRA_GPIO(N, 6) IRQ_TYPE_EDGE_FALLING>;
+
#thermal-sensor-cells = <1>;
};
};