Skip to contentSkip to conversation

Tegra ARM64 device-tree improvements for 5.15

PATCH Applied Dmitry Osipenko 2 participants 3 messages Jul 11, 2021 – Aug 11, 2021

Subsystems (2)

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Tegra ARM64 device-tree improvements for 5.15

A single patch here that doesn't fit into the ARM32 series of improvements, but fixes the same problem that affects the ARM32 boards too.

Dmitry Osipenko (1):
arm64: tegra194: p2888: Correct interrupt trigger type of temperature
sensor

 arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.32.0
#1 lore raw

PATCH 1/1 arm64: tegra194: p2888: 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.

---
 arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi +1 -1
index 7e7b0eb90c80..c4058ee36fec 100644
@@ -309,7 +309,7 @@ temperature-sensor@4c {
 
 				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>;
Signature · 1 line
2.32.0
#2 lore raw

Re: [PATCH v1 1/1] arm64: tegra194: p2888: Correct interrupt trigger type of temperature sensor

Quoted 9 lines · Dmitry Osipenko

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.

---
 arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Thierry