diff options
| author | Nicolin Chen <nicolinc@nvidia.com> | 2018-06-25 20:15:30 -0400 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-06-27 10:30:59 -0400 |
| commit | d0f76f97f4e6f535a169968ff9b9cd485a63e51a (patch) | |
| tree | 8e9688737c43700ad374bc4dece67c39a56323c2 /include/linux/platform_data | |
| parent | c58a1702dc63d2bf1c2cecd1c4846f16ea445b05 (diff) | |
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 <nicolinc@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1761105
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
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 */ | ||
