MT6620: add the new driver JB2 V1.0
[firefly-linux-kernel-4.4.55.git] / drivers / mtk_wcn_combo / common / linux / include / wmt_tm.h
1 #ifndef _WMT_TM_H
2 #define _WMT_TM_H
3 #if WMT_PLAT_ALPS
4
5 #define CONFIG_THERMAL_OPEN
6 #if  defined(CONFIG_THERMAL) &&  defined(CONFIG_THERMAL_OPEN)
7
8         struct wmt_thermal_ctrl_ops {
9             int (*query_temp)(void);
10             int (*set_temp)(int);
11         };
12
13         int wmt_tm_init(struct wmt_thermal_ctrl_ops *ops);
14         int wmt_tm_deinit(void);
15         int wmt_tm_init_rt(void);
16         int wmt_tm_deinit_rt(void);
17 #endif
18
19 #endif
20 #endif