* [PATCH v1 0/1] Tegra ARM64 device-tree improvements for 5.15
@ 2021-07-11 23:49 Dmitry Osipenko
2021-07-11 23:49 ` [PATCH v1 1/1] arm64: tegra194: p2888: Correct interrupt trigger type of temperature sensor Dmitry Osipenko
0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Osipenko @ 2021-07-11 23:49 UTC (permalink / raw)
To: Thierry Reding, Jonathan Hunter; +Cc: linux-kernel, linux-tegra
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(-)
--
2.32.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v1 1/1] arm64: tegra194: p2888: Correct interrupt trigger type of temperature sensor
2021-07-11 23:49 [PATCH v1 0/1] Tegra ARM64 device-tree improvements for 5.15 Dmitry Osipenko
@ 2021-07-11 23:49 ` Dmitry Osipenko
2021-08-11 10:10 ` Thierry Reding
0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Osipenko @ 2021-07-11 23:49 UTC (permalink / raw)
To: Thierry Reding, Jonathan Hunter; +Cc: linux-kernel, linux-tegra
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>
---
arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi b/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi
index 7e7b0eb90c80..c4058ee36fec 100644
--- a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi
@@ -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>;
--
2.32.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] arm64: tegra194: p2888: Correct interrupt trigger type of temperature sensor
2021-07-11 23:49 ` [PATCH v1 1/1] arm64: tegra194: p2888: Correct interrupt trigger type of temperature sensor Dmitry Osipenko
@ 2021-08-11 10:10 ` Thierry Reding
0 siblings, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2021-08-11 10:10 UTC (permalink / raw)
To: Dmitry Osipenko; +Cc: Jonathan Hunter, linux-kernel, linux-tegra
[-- Attachment #1: Type: text/plain, Size: 512 bytes --]
On Mon, Jul 12, 2021 at 02:49:39AM +0300, Dmitry Osipenko wrote:
> 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>
> ---
> arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-11 10:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-11 23:49 [PATCH v1 0/1] Tegra ARM64 device-tree improvements for 5.15 Dmitry Osipenko
2021-07-11 23:49 ` [PATCH v1 1/1] arm64: tegra194: p2888: Correct interrupt trigger type of temperature sensor Dmitry Osipenko
2021-08-11 10:10 ` Thierry Reding
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.