summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-08-03 00:19:36 +0300
committerThierry Reding <treding@nvidia.com>2021-08-13 14:11:20 +0300
commitb844468615cd6cdaef2b2c69d2d33180f375886e (patch)
treeb441b9a27f88ec8ce692af40b48840efce26bddc /arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
parent155bfaf7ee1df9c4b1aa2737d394b34bc7a2d746 (diff)
downloadlinux-b844468615cd6cdaef2b2c69d2d33180f375886e.tar.xz
ARM: tegra: nexus7: 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/dts/tegra30-asus-nexus7-grouper-common.dtsi')
-rw-r--r--arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi b/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
index ae8300baa2d4..33985fca956f 100644
--- a/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
+++ b/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
@@ -920,6 +920,10 @@
compatible = "onnn,nct1008";
reg = <0x4c>;
vcc-supply = <&vdd_3v3_sys>;
+
+ interrupt-parent = <&gpio>;
+ interrupts = <TEGRA_GPIO(S, 3) IRQ_TYPE_EDGE_FALLING>;
+
#thermal-sensor-cells = <1>;
};