From 7babd20f91e381f0cf618d1e46fece9fc5886410 Mon Sep 17 00:00:00 2001 From: Daniel Solomon Date: Tue, 2 Apr 2013 15:51:55 -0700 Subject: 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 Reviewed-on: http://git-master/r/216365 (cherry picked from commit 9df3a0af2196c496b58b474a1a4b2069dae61918) Reviewed-on: http://git-master/r/226450 --- include/linux/nct1008.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/linux') 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 { struct thermal_trip_info trips[THERMAL_MAX_TRIPS]; struct thermal_zone_params *tzp; const char *loc_name; + long suspend_ext_limit_hi; + long suspend_ext_limit_lo; + int (*suspend_with_wakeup)(void); }; #endif /* _LINUX_NCT1008_H */ -- cgit v1.2.2