mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
|
From be2cc09bd5b46f13629d4fcdeac7ad1b18bb1a0b Mon Sep 17 00:00:00 2001
|
||
|
From: Frank Wunderlich <frank-w@public-files.de>
|
||
|
Date: Fri, 22 Sep 2023 07:50:18 +0200
|
||
|
Subject: [PATCH] dt-bindings: thermal: mediatek: Add LVTS thermal sensors for
|
||
|
mt7988
|
||
|
|
||
|
Add sensor constants for MT7988.
|
||
|
|
||
|
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
|
||
|
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
|
||
|
Acked-by: Conor Dooley <conor.dooley@microchip.com>
|
||
|
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
||
|
Link: https://lore.kernel.org/r/20230922055020.6436-3-linux@fw-web.de
|
||
|
---
|
||
|
include/dt-bindings/thermal/mediatek,lvts-thermal.h | 9 +++++++++
|
||
|
1 file changed, 9 insertions(+)
|
||
|
|
||
|
--- a/include/dt-bindings/thermal/mediatek,lvts-thermal.h
|
||
|
+++ b/include/dt-bindings/thermal/mediatek,lvts-thermal.h
|
||
|
@@ -7,6 +7,15 @@
|
||
|
#ifndef __MEDIATEK_LVTS_DT_H
|
||
|
#define __MEDIATEK_LVTS_DT_H
|
||
|
|
||
|
+#define MT7988_CPU_0 0
|
||
|
+#define MT7988_CPU_1 1
|
||
|
+#define MT7988_ETH2P5G_0 2
|
||
|
+#define MT7988_ETH2P5G_1 3
|
||
|
+#define MT7988_TOPS_0 4
|
||
|
+#define MT7988_TOPS_1 5
|
||
|
+#define MT7988_ETHWARP_0 6
|
||
|
+#define MT7988_ETHWARP_1 7
|
||
|
+
|
||
|
#define MT8195_MCU_BIG_CPU0 0
|
||
|
#define MT8195_MCU_BIG_CPU1 1
|
||
|
#define MT8195_MCU_BIG_CPU2 2
|