diff options
Diffstat (limited to 'board/bolt/board.c')
-rw-r--r-- | board/bolt/board.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/board/bolt/board.c b/board/bolt/board.c index de4a3d18e9..b3e622af20 100644 --- a/board/bolt/board.c +++ b/board/bolt/board.c @@ -26,6 +26,7 @@ #include "switch.h" #include "temp_sensor.h" #include "timer.h" +#include "thermal.h" #include "tmp006.h" #include "util.h" @@ -198,6 +199,16 @@ const struct temp_sensor_t temp_sensors[] = { }; BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT); +/* Thermal limits for each temp sensor. All temps are in degrees K. Must be in + * same order as enum temp_sensor_id. To always ignore any temp, use 0. + */ +struct ec_thermal_config thermal_params[] = { + { {0, 0, 0}, 0, 0}, + /* Only the AP affects the thermal limits and fan speed. */ + {{C_TO_K(100), C_TO_K(114), C_TO_K(110)}, C_TO_K(60), C_TO_K(90)}, +}; +BUILD_ASSERT(ARRAY_SIZE(thermal_params) == TEMP_SENSOR_COUNT); + struct keyboard_scan_config keyscan_config = { .output_settle_us = 40, .debounce_down_us = 6 * MSEC, |