1c2146f43f91e53736772981645b3b96e7c5689b
[openwrt/staging/wigyori.git] /
1 From be2cc09bd5b46f13629d4fcdeac7ad1b18bb1a0b Mon Sep 17 00:00:00 2001
2 From: Frank Wunderlich <frank-w@public-files.de>
3 Date: Fri, 22 Sep 2023 07:50:18 +0200
4 Subject: [PATCH] dt-bindings: thermal: mediatek: Add LVTS thermal sensors for
5 mt7988
6
7 Add sensor constants for MT7988.
8
9 Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
10 Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
11 Acked-by: Conor Dooley <conor.dooley@microchip.com>
12 Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
13 Link: https://lore.kernel.org/r/20230922055020.6436-3-linux@fw-web.de
14 ---
15 include/dt-bindings/thermal/mediatek,lvts-thermal.h | 9 +++++++++
16 1 file changed, 9 insertions(+)
17
18 --- a/include/dt-bindings/thermal/mediatek,lvts-thermal.h
19 +++ b/include/dt-bindings/thermal/mediatek,lvts-thermal.h
20 @@ -7,6 +7,15 @@
21 #ifndef __MEDIATEK_LVTS_DT_H
22 #define __MEDIATEK_LVTS_DT_H
23
24 +#define MT7988_CPU_0 0
25 +#define MT7988_CPU_1 1
26 +#define MT7988_ETH2P5G_0 2
27 +#define MT7988_ETH2P5G_1 3
28 +#define MT7988_TOPS_0 4
29 +#define MT7988_TOPS_1 5
30 +#define MT7988_ETHWARP_0 6
31 +#define MT7988_ETHWARP_1 7
32 +
33 #define MT8195_MCU_BIG_CPU0 0
34 #define MT8195_MCU_BIG_CPU1 1
35 #define MT8195_MCU_BIG_CPU2 2