From d0f76f97f4e6f535a169968ff9b9cd485a63e51a Mon Sep 17 00:00:00 2001 From: Nicolin Chen Date: Mon, 25 Jun 2018 17:15:30 -0700 Subject: platform: tegra: Import header files to nvidia repo This patch imports downstream header files from K4.4, K4.9 and K4.14. Most of the header files are copied from K4.4 as it contains more files than the other two. But this change also merges additional changes from K4.9 and K4.14. Meanwhile it updates of license year. Bug 200424912 Change-Id: I6802a0d8c390bdbf430fe06f00dc174cc2b98a7d Signed-off-by: Nicolin Chen Reviewed-on: https://git-master.nvidia.com/r/1761105 GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam Reviewed-by: mobile promotions Tested-by: mobile promotions --- include/linux/platform_data/thermal_sensors.h | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 include/linux/platform_data/thermal_sensors.h (limited to 'include/linux/platform_data') 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 @@ +/* + * include/linux/platform_data/thermal_sensors.h + * + * Copyright (c) 2013-2014, NVIDIA Corporation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +#ifndef _THERMAL_SENSORS_H +#define _THERMAL_SENSORS_H + +struct thermal_trip_info { + long trip_temp; + enum thermal_trip_type trip_type; + unsigned long upper; + unsigned long lower; + long hysteresis; + bool tripped; + u32 mask; + bool bound; + char *cdev_type; +}; + +#endif /* _THERMAL_SENSORS_H */ -- cgit v1.2.2