summaryrefslogtreecommitdiff
path: root/board/gandof/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/gandof/board.c')
-rw-r--r--board/gandof/board.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/board/gandof/board.c b/board/gandof/board.c
index 49d8cc187d..28dd10adaa 100644
--- a/board/gandof/board.c
+++ b/board/gandof/board.c
@@ -36,7 +36,7 @@
#include "gpio_list.h"
#ifdef CONFIG_FAN_RPM_CUSTOM
-#define NUM_FAN_LEVELS 6
+#define NUM_FAN_LEVELS 7
struct fan_step {
int on;
@@ -47,11 +47,12 @@ struct fan_step {
/* Do not make the fan on/off point equal to 0 or 100 */
const struct fan_step fan_table[NUM_FAN_LEVELS] = {
{.rpm = 0},
- {.on = 11, .off = 2, .rpm = 4200},
- {.on = 36, .off = 25, .rpm = 5000},
- {.on = 58, .off = 47, .rpm = 5700},
- {.on = 77, .off = 69, .rpm = 6400},
- {.on = 97, .off = 88, .rpm = 7100},
+ {.on = 11, .off = 2, .rpm = 3800},
+ {.on = 21, .off = 16, .rpm = 4500},
+ {.on = 40, .off = 30, .rpm = 4900},
+ {.on = 59, .off = 50, .rpm = 5400},
+ {.on = 76, .off = 69, .rpm = 6000},
+ {.on = 97, .off = 80, .rpm = 7100},
};
int fan_percent_to_rpm(int fan, int pct)
@@ -140,7 +141,7 @@ BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT);
/* Physical fans. These are logically separate from pwm_channels. */
const struct fan_t fans[] = {
{.flags = FAN_USE_RPM_MODE,
- .rpm_min = 4200,
+ .rpm_min = 3800,
.rpm_max = 7100,
.ch = 2,
.pgood_gpio = GPIO_PP5000_PGOOD,
@@ -172,7 +173,7 @@ BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT);
*/
struct ec_thermal_config thermal_params[] = {
/* Only the AP affects the thermal limits and fan speed. */
- {{C_TO_K(66), C_TO_K(80), C_TO_K(100)}, C_TO_K(26), C_TO_K(62)},
+ {{C_TO_K(76), C_TO_K(80), C_TO_K(100)}, C_TO_K(28), C_TO_K(70)},
{{0, 0, 0}, 0, 0},
{{0, 0, 0}, 0, 0},
{{0, 0, 0}, 0, 0},