summaryrefslogtreecommitdiff
path: root/include/dptf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dptf.h')
-rw-r--r--include/dptf.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/dptf.h b/include/dptf.h
index 48be860f2d..4213426255 100644
--- a/include/dptf.h
+++ b/include/dptf.h
@@ -11,7 +11,13 @@
/* 0-100% sets fixed duty cycle, out of range means let the EC drive */
void dptf_set_fan_duty_target(int pct);
-/* 0-100% if in duty mode. -1 if not */
+/* 0-100% if in duty mode. -1 if not */
int dptf_get_fan_duty_target(void);
+/* Each temp sensor can have up to two thresholds */
+void dptf_set_temp_threshold(int sensor_id, /* zero-based sensor index */
+ int temp, /* in degrees K */
+ int idx, /* which threshold (0 or 1) */
+ int enable); /* true = on, false = off */
+
#endif /* __CROS_EC_DPTF_H */