projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da0ad89
)
ARM: tegra: paz00: Add interrupt to temperature sensor node
author
Dmitry Osipenko
<digetx@gmail.com>
Mon, 2 Aug 2021 21:19:35 +0000
(
00:19
+0300)
committer
Thierry 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
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/tegra20-paz00.dts
b/arch/arm/boot/dts/tegra20-paz00.dts
index
3180bff
..
acc816b
100644
(file)
--- a/
arch/arm/boot/dts/tegra20-paz00.dts
+++ b/
arch/arm/boot/dts/tegra20-paz00.dts
@@
-503,6
+503,10
@@
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>;
};
};