summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-08-02 23:19:40 +0200
committerThierry Reding <treding@nvidia.com>2021-08-13 13:11:29 +0200
commitd8b17f31f12d9433f5cc636788e60c67bc701362 (patch)
tree9939a3aa9ad75c335ba5e70df6a831fbe109a2d0
parentARM: tegra: apalis: Correct interrupt trigger type of temperature sensor (diff)
downloadlinux-d8b17f31f12d9433f5cc636788e60c67bc701362.tar.xz
linux-d8b17f31f12d9433f5cc636788e60c67bc701362.zip
ARM: tegra: cardhu: Correct interrupt trigger type of temperature sensor
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>
-rw-r--r--arch/arm/boot/dts/tegra30-cardhu.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/tegra30-cardhu.dtsi b/arch/arm/boot/dts/tegra30-cardhu.dtsi
index d9dd11569d4b..448f1397e64a 100644
--- a/arch/arm/boot/dts/tegra30-cardhu.dtsi
+++ b/arch/arm/boot/dts/tegra30-cardhu.dtsi
@@ -348,7 +348,7 @@
reg = <0x4c>;
vcc-supply = <&sys_3v3_reg>;
interrupt-parent = <&gpio>;
- interrupts = <TEGRA_GPIO(CC, 2) IRQ_TYPE_LEVEL_LOW>;
+ interrupts = <TEGRA_GPIO(CC, 2) IRQ_TYPE_EDGE_FALLING>;
#thermal-sensor-cells = <1>;
};