aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Osipenko <[email protected]>2021-08-03 00:19:37 +0300
committerThierry Reding <[email protected]>2021-08-13 13:11:22 +0200
commit8d78c750e3f623f85e70d8693e2733a8c3478530 (patch)
tree4ad4280c705741bf13ec06697934773b4eed6737
parentb844468615cd6cdaef2b2c69d2d33180f375886e (diff)
ARM: tegra: acer-a500: 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 <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
-rw-r--r--arch/arm/boot/dts/tegra20-acer-a500-picasso.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra20-acer-a500-picasso.dts b/arch/arm/boot/dts/tegra20-acer-a500-picasso.dts
index 1976c383912a..4897079680bd 100644
--- a/arch/arm/boot/dts/tegra20-acer-a500-picasso.dts
+++ b/arch/arm/boot/dts/tegra20-acer-a500-picasso.dts
@@ -693,6 +693,10 @@
compatible = "onnn,nct1008";
reg = <0x4c>;
vcc-supply = <&vdd_3v3_sys>;
+
+ interrupt-parent = <&gpio>;
+ interrupts = <TEGRA_GPIO(N, 6) IRQ_TYPE_EDGE_FALLING>;
+
#thermal-sensor-cells = <1>;
};
};