1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * db8500_thermal.h - DB8500 Thermal Management Implementation
5 * Copyright (C) 2012 ST-Ericsson
6 * Copyright (C) 2012 Linaro Ltd.
8 * Author: Hongbo Zhang <hongbo.zhang@linaro.com>
11 #ifndef _DB8500_THERMAL_H_
12 #define _DB8500_THERMAL_H_
14 #include <linux/thermal.h>
16 #define COOLING_DEV_MAX 8
18 struct db8500_trip_point
{
20 enum thermal_trip_type type
;
21 char cdev_name
[COOLING_DEV_MAX
][THERMAL_NAME_LENGTH
];
24 struct db8500_thsens_platform_data
{
25 struct db8500_trip_point trip_points
[THERMAL_MAX_TRIPS
];
29 #endif /* _DB8500_THERMAL_H_ */