diff options
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/thermal_sensors.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/include/linux/platform_data/thermal_sensors.h b/include/linux/platform_data/thermal_sensors.h new file mode 100644 index 000000000..61708dc59 --- /dev/null +++ b/include/linux/platform_data/thermal_sensors.h | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | /* | ||
| 2 | * include/linux/platform_data/thermal_sensors.h | ||
| 3 | * | ||
| 4 | * Copyright (c) 2013-2014, NVIDIA Corporation. All rights reserved. | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License as published by | ||
| 8 | * the Free Software Foundation; version 2 of the License. | ||
| 9 | * | ||
| 10 | * This program is distributed in the hope that it will be useful, but WITHOUT | ||
| 11 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 12 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
| 13 | * more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License along | ||
| 16 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
| 17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 18 | */ | ||
| 19 | |||
| 20 | #ifndef _THERMAL_SENSORS_H | ||
| 21 | #define _THERMAL_SENSORS_H | ||
| 22 | |||
| 23 | struct thermal_trip_info { | ||
| 24 | long trip_temp; | ||
| 25 | enum thermal_trip_type trip_type; | ||
| 26 | unsigned long upper; | ||
| 27 | unsigned long lower; | ||
| 28 | long hysteresis; | ||
| 29 | bool tripped; | ||
| 30 | u32 mask; | ||
| 31 | bool bound; | ||
| 32 | char *cdev_type; | ||
| 33 | }; | ||
| 34 | |||
| 35 | #endif /* _THERMAL_SENSORS_H */ | ||
