1 /* 2 * Copyright (c) 2006-2022, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2022-3-08 GuEe-GUI the first version 9 */ 10 11 #ifndef __THERMAL_DM_H__ 12 #define __THERMAL_DM_H__ 13 14 #include <rthw.h> 15 #include <rtthread.h> 16 #include <rtdevice.h> 17 18 #include <drivers/ofw.h> 19 20 enum rt_thermal_trip_type thermal_type(const char *type); 21 22 rt_err_t thermal_bind(struct rt_thermal_cooling_device *cdev, 23 struct rt_thermal_zone_device *zdev); 24 rt_err_t thermal_unbind(struct rt_thermal_cooling_device *cdev, 25 struct rt_thermal_zone_device *zdev); 26 27 #endif /* __THERMAL_DM_H__ */ 28