From a11e8ae9dcdd295122e36105f5a4ab14abb2348d Mon Sep 17 00:00:00 2001 From: Peter Chi Date: Mon, 16 May 2022 09:32:25 +0800 Subject: crota: add custom fan control BUG=b:232656160 BRANCH=none TEST=make -j BOARD=crota Signed-off-by: Peter Chi Change-Id: I1dbafced042678af75f714121d421ff0f263dba7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3650086 Reviewed-by: Boris Mittelberg --- board/crota/board.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'board/crota/board.h') diff --git a/board/crota/board.h b/board/crota/board.h index 3b0bea06dc..e972cf3425 100644 --- a/board/crota/board.h +++ b/board/crota/board.h @@ -188,6 +188,10 @@ #define CONFIG_LED_ONOFF_STATES #define CONFIG_LED_ONOFF_STATES_BAT_LOW 10 +/* Fan features */ +#define CONFIG_CUSTOM_FAN_CONTROL +#define CONFIG_FAN_DYNAMIC + /* Charger defines */ #define CONFIG_CHARGER_BQ25720 #define CONFIG_CHARGER_BQ25720_VSYS_TH2_CUSTOM @@ -204,18 +208,18 @@ #include "usbc_config.h" enum adc_channel { - ADC_TEMP_SENSOR_1_DDR_SOC, - ADC_TEMP_SENSOR_2_AMBIENT, + ADC_TEMP_SENSOR_1_SOC, + ADC_TEMP_SENSOR_2_DDR, ADC_TEMP_SENSOR_3_CHARGER, - ADC_TEMP_SENSOR_4_WWAN, + ADC_TEMP_SENSOR_4_AMBIENT, ADC_CH_COUNT }; enum temp_sensor_id { - TEMP_SENSOR_1_DDR_SOC, - TEMP_SENSOR_2_AMBIENT, + TEMP_SENSOR_1_SOC, + TEMP_SENSOR_2_DDR, TEMP_SENSOR_3_CHARGER, - TEMP_SENSOR_4_WWAN, + TEMP_SENSOR_4_AMBIENT, TEMP_SENSOR_COUNT }; -- cgit v1.2.1