summaryrefslogtreecommitdiff
path: root/include/fan.h
diff options
context:
space:
mode:
authorDevin Lu <devin.lu@quantatw.com>2019-11-26 16:19:26 +0800
committerCommit Bot <commit-bot@chromium.org>2020-01-31 03:05:02 +0000
commit876de6a603072fe121afe99fbda5d4f0e9efd266 (patch)
treed7a515b7e3c05ebe5a15ba9d9427169a9fb2c994 /include/fan.h
parentd1af13802e268f629e0f591b8f4f16543ebc6322 (diff)
downloadchrome-ec-876de6a603072fe121afe99fbda5d4f0e9efd266.tar.gz
jinlon: add dual fan control by ec
This patch allows the ec to manage two fans. Currently common/thermal.c cannot monitor more than 1 fan at the same time. This CL implements a board-specific thermal policy with multiple fans. BUG=b:141259174 BRANCH=hatch TEST=thermal team verified thermal policy is expected. Change-Id: I6ababcb0795408e8062b7605bc749e23b8bde45a Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1936077 Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'include/fan.h')
-rw-r--r--include/fan.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fan.h b/include/fan.h
index 083feae4a9..fd49649547 100644
--- a/include/fan.h
+++ b/include/fan.h
@@ -124,4 +124,6 @@ int fan_get_count(void);
void fan_set_count(int count);
+int is_thermal_control_enabled(int idx);
+
#endif /* __CROS_EC_FAN_H */