From: Frank Wunderlich <frank-w@public-files.de>
Add thermal controller definition for MT7987.
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
---
.../devicetree/bindings/thermal/mediatek,lvts-thermal.yaml | 1 +
include/dt-bindings/thermal/mediatek,lvts-thermal.h | 3 +++
2 files changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml b/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml
index 0259cd3ce9c5..a9befb523fd4 100644
--- a/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml
@@ -18,6 +18,7 @@ description: |
properties:
compatible:
enum:
+ - mediatek,mt7987-lvts-ap
- mediatek,mt7988-lvts-ap
- mediatek,mt8186-lvts
- mediatek,mt8188-lvts-ap
diff --git a/include/dt-bindings/thermal/mediatek,lvts-thermal.h b/include/dt-bindings/thermal/mediatek,lvts-thermal.h
index ddc7302a510a..e9780edcd26c 100644
--- a/include/dt-bindings/thermal/mediatek,lvts-thermal.h
+++ b/include/dt-bindings/thermal/mediatek,lvts-thermal.h
@@ -7,6 +7,9 @@
#ifndef __MEDIATEK_LVTS_DT_H
#define __MEDIATEK_LVTS_DT_H
+#define MT7987_CPU 0
+#define MT7987_ETH2P5G 1
+
#define MT7988_CPU_0 0
#define MT7988_CPU_1 1
#define MT7988_ETH2P5G_0 2
--
2.43.0
Hi, just a friendly reminder for this series regards Frank Am 23.12.25 um 18:56 schrieb Frank Wunderlich: > From: Frank Wunderlich <frank-w@public-files.de> > > Add thermal controller definition for MT7987. > > Signed-off-by: Frank Wunderlich <frank-w@public-files.de> > Acked-by: Rob Herring (Arm) <robh@kernel.org> > --- > .../devicetree/bindings/thermal/mediatek,lvts-thermal.yaml | 1 + > include/dt-bindings/thermal/mediatek,lvts-thermal.h | 3 +++ > 2 files changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml b/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml > index 0259cd3ce9c5..a9befb523fd4 100644 > --- a/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml > +++ b/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml > @@ -18,6 +18,7 @@ description: | > properties: > compatible: > enum: > + - mediatek,mt7987-lvts-ap > - mediatek,mt7988-lvts-ap > - mediatek,mt8186-lvts > - mediatek,mt8188-lvts-ap > diff --git a/include/dt-bindings/thermal/mediatek,lvts-thermal.h b/include/dt-bindings/thermal/mediatek,lvts-thermal.h > index ddc7302a510a..e9780edcd26c 100644 > --- a/include/dt-bindings/thermal/mediatek,lvts-thermal.h > +++ b/include/dt-bindings/thermal/mediatek,lvts-thermal.h > @@ -7,6 +7,9 @@ > #ifndef __MEDIATEK_LVTS_DT_H > #define __MEDIATEK_LVTS_DT_H > > +#define MT7987_CPU 0 > +#define MT7987_ETH2P5G 1 > + > #define MT7988_CPU_0 0 > #define MT7988_CPU_1 1 > #define MT7988_ETH2P5G_0 2
© 2016 - 2026 Red Hat, Inc.