summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoornima Tom <poornima.tom@intel.com>2020-11-27 18:44:12 +0530
committerCommit Bot <commit-bot@chromium.org>2020-12-03 07:04:36 +0000
commitced90db27ca8d94ff621ba5529e23927b448c859 (patch)
treee02e0fc457d462b984ab9100f84580e7fb6a5f49
parent414b245e6653dfe062c05d8b0f23620fdd65fdae (diff)
downloadchrome-ec-ced90db27ca8d94ff621ba5529e23927b448c859.tar.gz
ADLRVP: Enable PWM Fan
BRANCH=None BUG=b:169551130 TEST=PWM fan is able to run Signed-off-by: Poornima Tom <poornima.tom@intel.com> Change-Id: Ie042402803e5cd18780951b2efe89eae033126aa Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2563422 Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: Sooraj Govindan <sooraj.govindan@intel.com> Reviewed-by: Keith Short <keithshort@chromium.org> Tested-by: Sooraj Govindan <sooraj.govindan@intel.com>
-rw-r--r--board/adlrvpp_ite/board.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/adlrvpp_ite/board.h b/board/adlrvpp_ite/board.h
index aae55b0b7c..4c8a1d2ecc 100644
--- a/board/adlrvpp_ite/board.h
+++ b/board/adlrvpp_ite/board.h
@@ -136,6 +136,13 @@
*/
#define CONFIG_USB_PD_MAX_TOTAL_SOURCE_CURRENT 7500
+/* Config Fan */
+#define CONFIG_FANS 1
+#define GPIO_FAN_POWER_EN GPIO_EC_THRM_SEN_PWRGATE_N
+#define GPIO_ALL_SYS_PWRGD GPIO_ALL_SYS_PWRGD_EC
+#define BOARD_FAN_MIN_RPM 3000
+#define BOARD_FAN_MAX_RPM 10000
+
#ifndef __ASSEMBLER__
enum adlrvp_i2c_channel {