diff options
| author | Daniel Solomon <daniels@nvidia.com> | 2013-04-02 18:51:55 -0400 |
|---|---|---|
| committer | Nicolin Chen <nicolinc@nvidia.com> | 2017-08-11 15:14:15 -0400 |
| commit | 7babd20f91e381f0cf618d1e46fece9fc5886410 (patch) | |
| tree | bd50fe0fcd840e612768786dc962b3315d7aa768 /include/linux | |
| parent | a427f6992495ee3277a74acc66607c7b765c0909 (diff) | |
misc: nct1008: Add susupend wakeup params
NCT1008/72 devices can be used to wake up the system
for certain thermal events. Add parameters to the platform
data to specify whether this wakeup functionality is
supported, and, if so, what temperature limits should
be used to trigger a wakeup.
Bug 1261915
Change-Id: I708805dafa1669c117e2d1ab7f22fe6afd3f3d8b
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/216365
(cherry picked from commit 9df3a0af2196c496b58b474a1a4b2069dae61918)
Reviewed-on: http://git-master/r/226450
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nct1008.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/nct1008.h b/include/linux/nct1008.h index 06704fbdf..e0ec9708e 100644 --- a/include/linux/nct1008.h +++ b/include/linux/nct1008.h | |||
| @@ -44,5 +44,8 @@ struct nct1008_platform_data { | |||
| 44 | struct thermal_trip_info trips[THERMAL_MAX_TRIPS]; | 44 | struct thermal_trip_info trips[THERMAL_MAX_TRIPS]; |
| 45 | struct thermal_zone_params *tzp; | 45 | struct thermal_zone_params *tzp; |
| 46 | const char *loc_name; | 46 | const char *loc_name; |
| 47 | long suspend_ext_limit_hi; | ||
| 48 | long suspend_ext_limit_lo; | ||
| 49 | int (*suspend_with_wakeup)(void); | ||
| 47 | }; | 50 | }; |
| 48 | #endif /* _LINUX_NCT1008_H */ | 51 | #endif /* _LINUX_NCT1008_H */ |
