2 * db8500_thermal.h - DB8500 Thermal Management Implementation
4 * Copyright (C) 2012 ST-Ericsson
5 * Copyright (C) 2012 Linaro Ltd.
7 * Author: Hongbo Zhang <hongbo.zhang@linaro.com>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
20 #ifndef _DB8500_THERMAL_H_
21 #define _DB8500_THERMAL_H_
23 #include <linux/thermal.h>
25 #define COOLING_DEV_MAX 8
27 struct db8500_trip_point
{
29 enum thermal_trip_type type
;
30 char cdev_name
[COOLING_DEV_MAX
][THERMAL_NAME_LENGTH
];
33 struct db8500_thsens_platform_data
{
34 struct db8500_trip_point trip_points
[THERMAL_MAX_TRIPS
];
38 #endif /* _DB8500_THERMAL_H_ */