xref: /rk3399_ARM-atf/plat/mediatek/include/drivers/thermal/mt8189/soc_temp_lvts_interface.h (revision c2fa83f97fab72a1f874aff8d4aeeeee7fb5240d)
1 /*
2  * Copyright (c) 2025, MediaTek Inc. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef SOC_TEMP_LVTS_INTERFACE_H
8 #define SOC_TEMP_LVTS_INTERFACE_H
9 
10 enum mt8189_lvts_sensor_enum {
11 	MT8189_TS1_0,
12 	MT8189_TS1_1,
13 	MT8189_TS1_2,
14 	MT8189_TS1_3,
15 	MT8189_TS2_0,
16 	MT8189_TS2_1,
17 	MT8189_TS2_2,
18 	MT8189_TS2_3,
19 	MT8189_TS3_0,
20 	MT8189_TS3_1,
21 	MT8189_TS3_2,
22 	MT8189_TS3_3,
23 	MT8189_TS4_0,
24 	MT8189_TS4_1,
25 	MT8189_TS4_2,
26 	MT8189_TS4_3,
27 	MT8189_TS5_0,
28 	MT8189_TS5_1,
29 	MT8189_NUM_TS
30 };
31 
32 #define THERMAL_REBOOT_BIT	(18)
33 #define MFG_THERMAL_REBOOT_BIT	(22)
34 
35 #endif /* SOC_TEMP_LVTS_INTERFACE_H */
36