arm64: tegra194: p2888: Correct interrupt trigger type of temperature sensor
authorDmitry Osipenko <digetx@gmail.com>
Sun, 11 Jul 2021 23:49:39 +0000 (02:49 +0300)
committerThierry Reding <treding@nvidia.com>
Wed, 11 Aug 2021 10:09:40 +0000 (12:09 +0200)
The LM90 temperature sensor should use edge-triggered interrupt because
LM90 hardware doesn't deassert interrupt line until temperature is back
to normal state, which results in interrupt storm. Correct the interrupt
trigger type.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi

index 7e7b0eb..c4058ee 100644 (file)
 
                                interrupt-parent = <&gpio>;
                                interrupts = <TEGRA194_MAIN_GPIO(H, 2)
-                                             IRQ_TYPE_LEVEL_LOW>;
+                                             IRQ_TYPE_EDGE_FALLING>;
                                vcc-supply = <&vdd_1v8ls>;
 
                                #thermal-sensor-cells = <1>;