ARM: tegra: paz00: Add interrupt to temperature sensor node
authorDmitry Osipenko <digetx@gmail.com>
Mon, 2 Aug 2021 21:19:35 +0000 (00:19 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 13 Aug 2021 11:11:17 +0000 (13:11 +0200)
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>
arch/arm/boot/dts/tegra20-paz00.dts

index 3180bff..acc816b 100644 (file)
                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>;
                };
        };