summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPradeep Goudagunta <pgoudagunta@nvidia.com>2013-08-29 16:25:42 +0530
committerMrutyunjay Sawant <msawant@nvidia.com>2013-09-23 01:44:25 -0700
commit4fc54083245492d7c516341eb126cc2c4ba6eac5 (patch)
treeaa3c3f324191e5232de114a8a1af9a1cd4c6dcb9 /include
parentc92a61c2b5f66ebda78b8ba2a1719ce8f0ac7e9d (diff)
thermal: Add palmas thermal support
Palmas series pmic chip supports hot die interrupt configurable for four different critical temperature thresholds. Bug 1355680 Bug 1167941 Change-Id: I0167d5faf5be596018ec34d67911dd631d2cc71f Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com> Reviewed-on: http://git-master/r/267913 (cherry picked from commit c102e29ad47ef3dfcdd12d49b58cf1dfeff26652) Reviewed-on: http://git-master/r/276605 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/palmas.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mfd/palmas.h b/include/linux/mfd/palmas.h
index d903336422ad..c7cc54bbbf75 100644
--- a/include/linux/mfd/palmas.h
+++ b/include/linux/mfd/palmas.h
@@ -21,6 +21,7 @@
#include <linux/regmap.h>
#include <linux/regulator/driver.h>
#include <linux/iio/machine.h>
+#include <linux/thermal.h>
#define PALMAS_NUM_CLIENTS 3
@@ -258,6 +259,10 @@ struct palmas_platform_data {
int watchdog_timer_initial_period;
+ /* Hotdie Threshold temperature */
+ unsigned long hd_threshold_temp;
+ char *tz_name;
+
/* Long press delay for hard shutdown */
int long_press_delay;